diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-08-26 15:32:58 +0800 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-08-26 09:52:58 +0200 |
commit | bcdd822007e44b1da1ad5a62f20b75ee7d8da608 (patch) | |
tree | 87200459f8587d7769aa0b42d89400698b4c9358 /net | |
parent | 19504cf5f35fbe85db811fce9f4392a0cbdada2f (diff) | |
download | op-kernel-dev-bcdd822007e44b1da1ad5a62f20b75ee7d8da608.zip op-kernel-dev-bcdd822007e44b1da1ad5a62f20b75ee7d8da608.tar.gz |
mac80211_hwsim: fix error return code in init_mac80211_hwsim()
Fix to return -ENOMEM in the netdev alloc error handling
case instead of 0, as done elsewhere in this function.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions