Skip to content

Commit

Permalink
iwlwifi: clear dbg_fixed_rate during init
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Shanyu Zhao authored and Wey-Yi Guy committed Dec 13, 2010
1 parent 4fb3324 commit a1da077
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/wireless/iwlwifi/iwl-agn-rs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit a1da077

Please sign in to comment.