diff options
Diffstat (limited to 'net/mac80211/rate.c')
-rw-r--r-- | net/mac80211/rate.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/mac80211/rate.c b/net/mac80211/rate.c index e126605cec66..7f7ce1173bf6 100644 --- a/net/mac80211/rate.c +++ b/net/mac80211/rate.c | |||
@@ -247,6 +247,9 @@ static void __rate_control_send_low(struct ieee80211_hw *hw, | |||
247 | 247 | ||
248 | info->control.rates[0].idx = 0; | 248 | info->control.rates[0].idx = 0; |
249 | for (i = 0; i < sband->n_bitrates; i++) { | 249 | for (i = 0; i < sband->n_bitrates; i++) { |
250 | if ((rate_flags & sband->bitrates[i].flags) != rate_flags) | ||
251 | continue; | ||
252 | |||
250 | if (!rate_supported(sta, sband->band, i)) | 253 | if (!rate_supported(sta, sband->band, i)) |
251 | continue; | 254 | continue; |
252 | 255 | ||