summaryrefslogtreecommitdiff
path: root/net/mac80211/iface.c
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-08-26 07:32:58 (GMT)
committerJohannes Berg <johannes.berg@intel.com>2013-08-26 07:52:58 (GMT)
commitbcdd822007e44b1da1ad5a62f20b75ee7d8da608 (patch)
tree87200459f8587d7769aa0b42d89400698b4c9358 /net/mac80211/iface.c
parent19504cf5f35fbe85db811fce9f4392a0cbdada2f (diff)
downloadlinux-fsl-qoriq-bcdd822007e44b1da1ad5a62f20b75ee7d8da608.tar.xz
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/mac80211/iface.c')
0 files changed, 0 insertions, 0 deletions