diff options
Diffstat (limited to 'net/mac80211/rate.c')
-rw-r--r-- | net/mac80211/rate.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/rate.c b/net/mac80211/rate.c index 08ab7d6d1517..d53355b011f5 100644 --- a/net/mac80211/rate.c +++ b/net/mac80211/rate.c | |||
@@ -446,7 +446,8 @@ static void rate_fixup_ratelist(struct ieee80211_vif *vif, | |||
446 | * | 446 | * |
447 | * XXX: Should this check all retry rates? | 447 | * XXX: Should this check all retry rates? |
448 | */ | 448 | */ |
449 | if (!(rates[0].flags & IEEE80211_TX_RC_MCS)) { | 449 | if (!(rates[0].flags & |
450 | (IEEE80211_TX_RC_MCS | IEEE80211_TX_RC_VHT_MCS))) { | ||
450 | u32 basic_rates = vif->bss_conf.basic_rates; | 451 | u32 basic_rates = vif->bss_conf.basic_rates; |
451 | s8 baserate = basic_rates ? ffs(basic_rates) - 1 : 0; | 452 | s8 baserate = basic_rates ? ffs(basic_rates) - 1 : 0; |
452 | 453 | ||