diff --git a/net/mac80211/rate.c b/net/mac80211/rate.c index 6081329784dd4475ae95317dde31910efd760525..f6fea67fcc5b3ba83c6b23b317f973da0b815719 100644 --- a/net/mac80211/rate.c +++ b/net/mac80211/rate.c @@ -385,7 +385,7 @@ static void rate_idx_match_mask(struct ieee80211_tx_rate *rate, *rate = alt_rate; return; } - } else { + } else if (!(rate->flags & IEEE80211_TX_RC_VHT_MCS)) { /* handle legacy rates */ if (rate_idx_match_legacy_mask(rate, sband->n_bitrates, mask)) return;