summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-agn-rs.c
diff options
context:
space:
mode:
authorShanyu Zhao <shanyu.zhao@intel.com>2010-12-02 20:02:54 +0100
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2010-12-14 00:51:01 +0100
commita1da077bc36368eb7d6312e7e49260f0a3d92c77 (patch)
treed315c4b9219bbd171fbe346d9471672b9f281978 /drivers/net/wireless/iwlwifi/iwl-agn-rs.c
parentiwlagn: change led compensation for 6005 and 6030 devices (diff)
downloadlinux-a1da077bc36368eb7d6312e7e49260f0a3d92c77.tar.xz
linux-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>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn-rs.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn-rs.c2
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);
}