cfg80211/mac80211: avoid bss color setting in non-HE modes
authorP Praneesh <ppranees@codeaurora.org>
Thu, 9 Jul 2020 02:46:21 +0000 (08:16 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 31 Jul 2020 07:25:12 +0000 (09:25 +0200)
commit322cd27c06450b2db2cb6bdc68f3814149baf767
treed7fd0e4fa42a91c6282f76a46871d2df13dbf748
parent180ac48ee62f53c26787350a956c5ac371cbe0b7
cfg80211/mac80211: avoid bss color setting in non-HE modes

Adding bss-color configuration is only valid in HE mode.
Earlier we have enabled it by default, irrespective of
capabilities/mode. Fix that.

Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Rajkumar Manoharan <rmanohar@codeaurora.org>
Signed-off-by: P Praneesh <ppranees@codeaurora.org>
Link: https://lore.kernel.org/r/1594262781-21444-1-git-send-email-ppranees@codeaurora.org
[fix up commit message]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/mlme.c
net/wireless/nl80211.c