mac80211: allow SMPS requests only in client mode
authorJohannes Berg <johannes.berg@intel.com>
Fri, 18 Jun 2021 10:41:32 +0000 (13:41 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 23 Jun 2021 09:29:13 +0000 (11:29 +0200)
commit10a35c222bc6fdd71421e800003b4c4c02d41bba
tree11e74edc0c944483a52e79758c672a5c12895e4f
parente41eb3e408de27982a5f8f50b2dd8002bed96908
mac80211: allow SMPS requests only in client mode

The code currently allows this for AP mode, but then ignores
it. Clarify that since the spec doesn't allow it in AP mode.

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.0465f8bcbe32.Iba39fc559ecfa887be00a5f3beabd881e5c86e54@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ht.c