mac80211: do not disable HE if HT is missing on 2.4 GHz
authorWen Gong <wgong@codeaurora.org>
Fri, 11 Sep 2020 10:29:02 +0000 (10:29 +0000)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 18 Sep 2020 09:41:50 +0000 (11:41 +0200)
commit780a8c9efc65f6d86acd44794495cedcd32eeb26
treecae27f434d7829a13b8d61969c61ddf10fe0ad17
parent412a84b5714af56f3eb648bba155107b5edddfdf
mac80211: do not disable HE if HT is missing on 2.4 GHz

VHT is not supported on 2.4 GHz, but HE is; don't disable HE if HT
is missing there, do that only on 5 GHz (6 GHz is only HE).

Fixes: 57fa5e85d53ce51 ("mac80211: determine chandef from HE 6 GHz operation")
Signed-off-by: Wen Gong <wgong@codeaurora.org>
Link: https://lore.kernel.org/r/010101747cb617f2-593c5410-1648-4a42-97a0-f3646a5a6dd1-000000@us-west-2.amazonses.com
[rewrite the commit message]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c