cfg80211: honor NL80211_RRF_NO_HT40{MINUS,PLUS}
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 6 Sep 2017 10:45:40 +0000 (13:45 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 6 Sep 2017 10:56:31 +0000 (12:56 +0200)
commit4e0854a74f08e6a9d847f2c2cfae7b07c931d125
treea76f42c9b09fc7c88a7954bb0a0c51125422281e
parentba83bfb1e86501d21077b570e10e443f1605be64
cfg80211: honor NL80211_RRF_NO_HT40{MINUS,PLUS}

Honor the NL80211_RRF_NO_HT40{MINUS,PLUS} flags in
reg_process_ht_flags_channel. Not doing so leads can lead
to a firmware assert in iwlwifi for example.

Fixes: b0d7aa59592b ("cfg80211: allow wiphy specific regdomain management")
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/reg.c