commit | 48f3b9e989725127e0edf1cc2f2e169094d03a43 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Wed Sep 26 12:17:17 2018 +0000 |
committer | Johannes Berg <johannes.berg@intel.com> | Tue Oct 02 09:56:29 2018 +0200 |
tree | 8aac0ebb6b97c01d933449df3e398bc27d798013 | |
parent | e4d4216e91ea31049ba0cde0799ece244410a9f7 [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>