Skip to content

Commit

Permalink
iwlwifi: rs always set lq_sta->priv
Browse files Browse the repository at this point in the history
This patch fixes printk NULL pointer exceptions in rs code.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Guy Cohen <guy.cohen@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Tomas Winkler authored and John W. Linville committed Jul 14, 2008
1 parent 65fdbb4 commit 6c53790
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/net/wireless/iwlwifi/iwl-4965-rs.c
Original file line number Diff line number Diff line change
Expand Up @@ -2265,9 +2265,7 @@ static void rs_rate_init(void *priv_rate, void *priv_sta,

/* as default allow aggregation for all tids */
lq_sta->tx_agg_tid_en = IWL_AGG_ALL_TID;
#ifdef CONFIG_MAC80211_DEBUGFS
lq_sta->drv = priv;
#endif

rs_initialize_lq(priv, conf, sta);
}
Expand Down

0 comments on commit 6c53790

Please sign in to comment.