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>
This commit is contained in:
Shanyu Zhao 2010-12-02 11:02:54 -08:00 committed by Wey-Yi Guy
parent 4fb33244d1
commit a1da077bc3

View File

@ -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);
}