Commit bcdd822007e44b1da1ad5a62f20b75ee7d8da608
Committed by
Johannes Berg
1 parent
19504cf5f3
Exists in
smarc-imx_3.14.28_1.0.0_ga
and in
1 other branch
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>
Showing 1 changed file with 3 additions and 1 deletions Side-by-side Diff
drivers/net/wireless/mac80211_hwsim.c