mac80211: minstrel: fix using short preamble CCK rates on HT clients
authorFelix Fietkau <nbd@nbd.name>
Sat, 6 Oct 2018 17:35:03 +0000 (19:35 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 11 Oct 2018 14:01:02 +0000 (16:01 +0200)
commit37439f2d6e43ae79e22be9be159f0af157468f82
tree1cc72c5ad6bc59f60011512213aa89a48eb51d31
parent202df504d7dea489ce74a913d4b529531bdff312
mac80211: minstrel: fix using short preamble CCK rates on HT clients

mi->supported[MINSTREL_CCK_GROUP] needs to be updated
short preamble rates need to be marked as supported regardless of
whether it's currently enabled. Its state can change at any time without
a rate_update call.

Fixes: 782dda00ab8e ("mac80211: minstrel_ht: move short preamble check out of get_rate")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rc80211_minstrel_ht.c