mac80211: set STA flag DISABLE_HE if HE is not supported
authorShaul Triebitz <shaul.triebitz@intel.com>
Sat, 15 Dec 2018 09:03:19 +0000 (11:03 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 18 Dec 2018 13:19:39 +0000 (14:19 +0100)
commit002245ec20b273bc1e31ed8fbee01396955a0f19
tree63b746bc343e8984fe5ab179d5b191937a0a2ba4
parent2e249fc320862e3f75fd255a21554d6de90fb55a
mac80211: set STA flag DISABLE_HE if HE is not supported

Up until now, the IEEE80211_STA_DISABLE_HE flag was set only based
on whether the AP has advertised HE capabilities.
This flag should be set also if STA does not support HE
(regardless of the AP support).

Signed-off-by: Shaul Triebitz <shaul.triebitz@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c