diff options
author | Felix Fietkau <nbd@nbd.name> | 2017-01-13 11:28:25 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2017-01-13 11:31:26 +0100 |
commit | 43071d8fb3b7f589d72663c496a6880fb097533c (patch) | |
tree | c5e77fe5ca06dd4c5b9cb849674ea4abd3515b12 /net/sched | |
parent | d2941df8fbd9708035d66d889ada4d3d160170ce (diff) | |
download | linux-43071d8fb3b7f589d72663c496a6880fb097533c.tar.bz2 |
mac80211: initialize SMPS field in HT capabilities
ibss and mesh modes copy the ht capabilites from the band without
overriding the SMPS state. Unfortunately the default value 0 for the
SMPS field means static SMPS instead of disabled.
This results in HT ibss and mesh setups using only single-stream rates,
even though SMPS is not supposed to be active.
Initialize SMPS to disabled for all bands on ieee80211_hw_register to
ensure that the value is sane where it is not overriden with the real
SMPS state.
Reported-by: Elektra Wagenrad <onelektra@gmx.net>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
[move VHT TODO comment to a better place]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions