aboutsummaryrefslogtreecommitdiff
path: root/net/wireless/nl80211.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2018-09-26 12:17:17 +0000
committerJohannes Berg <johannes.berg@intel.com>2018-10-02 09:56:29 +0200
commit48f3b9e989725127e0edf1cc2f2e169094d03a43 (patch)
tree8aac0ebb6b97c01d933449df3e398bc27d798013 /net/wireless/nl80211.c
parente4d4216e91ea31049ba0cde0799ece244410a9f7 (diff)
mac80211: fix error handling in ieee80211_register_hw()
Fix to return a negative error code -ENOMEM from the kmemdup error handling case instead of 0. Fixes: 09b4a4faf9d0 ("mac80211: introduce capability flags for VHT EXT NSS support") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/nl80211.c')
0 files changed, 0 insertions, 0 deletions