]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
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)
committerKhalid Elmously <khalid.elmously@canonical.com>
Thu, 28 Nov 2019 04:59:27 +0000 (23:59 -0500)
commitadad3645bbde83eb39485dbc6a1125516ed55d3b
tree6e65b5426b91dde021a06ab4737d928b7a361763
parent9b63fd32c65621b55adb92c2a7ba88f5b88199cc
mac80211: minstrel: fix using short preamble CCK rates on HT clients

BugLink: https://bugs.launchpad.net/bugs/1854216
[ Upstream commit 37439f2d6e43ae79e22be9be159f0af157468f82 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
net/mac80211/rc80211_minstrel_ht.c