diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2008-09-02 23:26:54 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-09-08 14:23:20 -0400 |
commit | 68d12b7ca7aff20190a9751a732dfc49220ae396 (patch) | |
tree | 6941b1a804342a4a925f44a83fd2d1874751d294 /drivers/net/wireless | |
parent | 9734cb23a02f8de5fa99225ca61c7019ca9f232f (diff) |
iwlwifi: take a fresh set of supported rates at each cycle
This patch fixes regression in iwlwifi IBSS rate scaling caused by the
patch named "mac80211: eliminate IBSS warning in rate_lowest_index()"
by Vladimir Koutny <vlado@work.ksp.sk>.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn-rs.c | 1 |
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 754fef5b592f..3dc57f53f5df 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-rs.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn-rs.c | |||
@@ -1668,6 +1668,7 @@ static void rs_rate_scale_perform(struct iwl_priv *priv, | |||
1668 | return; | 1668 | return; |
1669 | 1669 | ||
1670 | lq_sta = (struct iwl_lq_sta *)sta->rate_ctrl_priv; | 1670 | lq_sta = (struct iwl_lq_sta *)sta->rate_ctrl_priv; |
1671 | lq_sta->supp_rates = sta->supp_rates[lq_sta->band]; | ||
1671 | 1672 | ||
1672 | tid = rs_tl_add_packet(lq_sta, hdr); | 1673 | tid = rs_tl_add_packet(lq_sta, hdr); |
1673 | 1674 | ||