]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
mac80211: add HE 6 GHz capability only if supported
authorJohannes Berg <johannes.berg@intel.com>
Wed, 23 Jun 2021 11:05:47 +0000 (13:05 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 23 Jun 2021 11:10:47 +0000 (13:10 +0200)
commit65be6aa36ded2d2e3bf5058f4d3385b5a2a7ef2e
tree2129269454dfa37540d7548b65872fef6095643f
parent15fae3410f1d879b18e08fe8ef293d538549dfcb
mac80211: add HE 6 GHz capability only if supported

The HE 6 GHz capability should only be included if there
are actually available channels on 6 GHz, and if that's
the case we need to get it from the 6 GHz band data, not
whatever other band we're on now.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210618133832.290bf5c87030.I178aff1c3a6e32456d4ac9238e4a2eb47d209ccd@changeid
Link: https://lore.kernel.org/r/iwlwifi.20210618133832.05e935e8dd98.I83ff7eb2ae8ebdf2e30c4fa2461344d9e569f599@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/util.c