projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fb3324
)
iwlwifi: clear dbg_fixed_rate during init
author
Shanyu Zhao
<shanyu.zhao@intel.com>
Thu, 2 Dec 2010 19:02:54 +0000
(11:02 -0800)
committer
Wey-Yi Guy
<wey-yi.w.guy@intel.com>
Mon, 13 Dec 2010 23:51:01 +0000
(15:51 -0800)
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>
drivers/net/wireless/iwlwifi/iwl-agn-rs.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/iwlwifi/iwl-agn-rs.c
b/drivers/net/wireless/iwlwifi/iwl-agn-rs.c
index
f450adc
..
ee12348
100644
(file)
--- 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);
}