diff options
author | Kumar Amit Mehta <gmate.amit@gmail.com> | 2013-02-18 13:13:44 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-02-18 21:30:40 +0100 |
commit | b53cf458ea20dd7f5e32611366f63728e40c9021 (patch) | |
tree | ba0f346b11ed66e242c845586bff11ab6b7ce61c /Documentation | |
parent | net: wireless: orinoco: orinoco_usb.c: fix DMA buffers on stack (diff) | |
download | linux-b53cf458ea20dd7f5e32611366f63728e40c9021.tar.xz linux-b53cf458ea20dd7f5e32611366f63728e40c9021.zip |
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: Kumar Amit Mehta <gmate.amit@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions