]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: don't require VHT elements for HE on 2.4 GHz
authorJohannes Berg <johannes.berg@intel.com>
Tue, 13 Oct 2020 12:01:57 +0000 (14:01 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 30 Oct 2020 09:22:42 +0000 (10:22 +0100)
commit864c93cceddc5ee90b630a36e126838abf08910e
tree44b5a03c3ce8cbd8094d4b094667c6da9f349e7c
parentf77be3decee6fc3a1e6a7cf25282d777cd1e738b
mac80211: don't require VHT elements for HE on 2.4 GHz

After the previous similar bugfix there was another bug here,
if no VHT elements were found we also disabled HE. Fix this to
disable HE only on the 5 GHz band; on 6 GHz it was already not
disabled, and on 2.4 GHz there need (should) not be any VHT.

Fixes: ed77152889fc ("mac80211: determine chandef from HE 6 GHz operation")
Link: https://lore.kernel.org/r/20201013140156.535a2fc6192f.Id6e5e525a60ac18d245d86f4015f1b271fce6ee6@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c