Wei Yongjun 48f3b9e989 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>
2018-10-02 09:56:29 +02:00
..
2018-06-18 22:40:32 +02:00
2018-06-18 22:40:32 +02:00
2018-06-12 16:19:22 -07:00
2017-02-10 14:31:51 -05:00
2018-06-18 22:40:32 +02:00
2018-09-05 10:03:14 +02:00
2018-09-05 10:15:48 +02:00
2018-06-18 22:40:32 +02:00
2018-09-05 10:03:14 +02:00
2018-02-22 21:13:03 +01:00
2014-04-09 14:49:43 +02:00
2018-09-05 10:08:42 +02:00
2018-06-30 21:08:12 +09:00
2018-06-18 22:40:32 +02:00
2018-06-18 22:40:32 +02:00
2012-03-13 14:54:16 -04:00
2018-02-22 21:13:03 +01:00