RE: [PATCH 06/10] cfg80211: honor NL80211_RRF_NO_HT40{MINUS,PLUS}

2017-09-06 Thread Grumbach, Emmanuel
> > On Tue, 2017-09-05 at 16:49 +, Grumbach, Emmanuel wrote: > > On Tue, 2017-09-05 at 16:30 +0200, Johannes Berg wrote: > > > On Sat, 2017-08-05 at 11:44 +0300, Luca Coelho wrote: > > > > > > > + regd = get_wiphy_regdom(wiphy); > > > > + if (regd) { > > > > + const

Re: [PATCH 06/10] cfg80211: honor NL80211_RRF_NO_HT40{MINUS,PLUS}

2017-09-06 Thread Johannes Berg
On Tue, 2017-09-05 at 16:49 +, Grumbach, Emmanuel wrote: > On Tue, 2017-09-05 at 16:30 +0200, Johannes Berg wrote: > > On Sat, 2017-08-05 at 11:44 +0300, Luca Coelho wrote: > > > > > + regd = get_wiphy_regdom(wiphy); > > > + if (regd) { > > > + const struct ieee80211_reg_rule

[PATCH 06/10] cfg80211: honor NL80211_RRF_NO_HT40{MINUS,PLUS}

2017-08-05 Thread Luca Coelho
From: Emmanuel Grumbach 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. This fixes https://bugzilla.kernel.org/show_bug.cgi?id=195299 Fixes: b0d7aa59592b