commit | bcdd822007e44b1da1ad5a62f20b75ee7d8da608 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Mon Aug 26 15:32:58 2013 +0800 |
committer | Johannes Berg <johannes.berg@intel.com> | Mon Aug 26 09:52:58 2013 +0200 |
tree | 87200459f8587d7769aa0b42d89400698b4c9358 | |
parent | 19504cf5f35fbe85db811fce9f4392a0cbdada2f [diff] |
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>