aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn-rs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-rs.c b/drivers/net/wireless/iwlwifi/iwl-agn-rs.c
index fee110de5c6a..26ec969e265d 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn-rs.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn-rs.c
@@ -2546,6 +2546,7 @@ static void rs_get_rate(void *priv_r, struct ieee80211_sta *sta, void *priv_sta,
2546 rate_idx = rate_lowest_index(sband, sta); 2546 rate_idx = rate_lowest_index(sband, sta);
2547 else if (sband->band == IEEE80211_BAND_5GHZ) 2547 else if (sband->band == IEEE80211_BAND_5GHZ)
2548 rate_idx -= IWL_FIRST_OFDM_RATE; 2548 rate_idx -= IWL_FIRST_OFDM_RATE;
2549 info->control.rates[0].flags = 0;
2549 } 2550 }
2550 info->control.rates[0].idx = rate_idx; 2551 info->control.rates[0].idx = rate_idx;
2551 2552