1 From: Felix Fietkau <nbd@nbd.name>
2 Date: Sat, 10 Feb 2018 13:43:07 +0100
3 Subject: [PATCH] mac80211: minstrel: fix using short preamble CCK rates on
6 mi->supported[MINSTREL_CCK_GROUP] needs to be updated
8 Fixes: 782dda00ab8e ("mac80211: minstrel_ht: move short preamble check out of get_rate")
9 Signed-off-by: Felix Fietkau <nbd@nbd.name>
12 --- a/net/mac80211/rc80211_minstrel_ht.c
13 +++ b/net/mac80211/rc80211_minstrel_ht.c
14 @@ -1265,7 +1265,8 @@ minstrel_ht_update_caps(void *priv, stru
17 if (test_sta_flag(sinfo, WLAN_STA_SHORT_PREAMBLE))
18 - mi->cck_supported_short |= mi->cck_supported_short << 4;
19 + mi->supported[MINSTREL_CCK_GROUP] |=
20 + mi->cck_supported_short << 4;
22 /* create an initial rate table with the lowest supported rates */
23 minstrel_ht_update_stats(mp, mi);