commit | b53cf458ea20dd7f5e32611366f63728e40c9021 | [log] [tgz] |
---|---|---|
author | Kumar Amit Mehta <gmate.amit@gmail.com> | Mon Feb 18 04:13:44 2013 -0800 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Feb 18 15:30:40 2013 -0500 |
tree | ba0f346b11ed66e242c845586bff11ab6b7ce61c | |
parent | 488ec878034eccb852267b0e27ce9d511f75c587 [diff] |
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>