diff options
author | Shanyu Zhao <shanyu.zhao@intel.com> | 2010-12-02 11:02:54 -0800 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-12-13 15:51:01 -0800 |
commit | a1da077bc36368eb7d6312e7e49260f0a3d92c77 (patch) | |
tree | d315c4b9219bbd171fbe346d9471672b9f281978 | |
parent | 4fb33244d17b973f17cbc7cf8b7efd0875950474 (diff) | |
download | linux-stable-a1da077bc36368eb7d6312e7e49260f0a3d92c77.tar.gz linux-stable-a1da077bc36368eb7d6312e7e49260f0a3d92c77.tar.bz2 linux-stable-a1da077bc36368eb7d6312e7e49260f0a3d92c77.zip |
iwlwifi: clear dbg_fixed_rate during init
This prevent bad fixed_rate keeps crashing uCode in an endless loop.
Signed-off-by: Shanyu Zhao <shanyu.zhao@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn-rs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-rs.c b/drivers/net/wireless/iwlwifi/iwl-agn-rs.c index f450adc72361..ee123482e1d5 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-rs.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn-rs.c @@ -2873,6 +2873,8 @@ void iwl_rs_rate_init(struct iwl_priv *priv, struct ieee80211_sta *sta, u8 sta_i lq_sta->last_txrate_idx += IWL_FIRST_OFDM_RATE; lq_sta->is_agg = 0; + lq_sta->dbg_fixed_rate = 0; + rs_initialize_lq(priv, conf, sta, lq_sta); } |