Skip to content
Commit b53cf458 authored by Kumar Amit Mehta's avatar Kumar Amit Mehta Committed by John W. Linville
Browse files

net: wireless: hostap: hostap_ap.c: Return -ENOMEM instead of -1 for if kmalloc() fails.



When memory allocation using, kmalloc() fails, report appropriate error value.

Signed-off-by: default avatarKumar Amit Mehta <gmate.amit@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 488ec878
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment