diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2008-07-10 23:53:33 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-07-14 14:52:58 -0400 |
commit | 6c5379077f47f6eff9c23caf8513751d2f582e72 (patch) | |
tree | 15abfba0cb89e462e20ac8da8692d6fbb5bba09a /drivers/net/wireless/iwlwifi/iwl-4965-rs.c | |
parent | 65fdbb48eb43e33e94239677a75422ddc6f5eb75 (diff) |
iwlwifi: rs always set lq_sta->priv
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>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-4965-rs.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965-rs.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965-rs.c b/drivers/net/wireless/iwlwifi/iwl-4965-rs.c index c7ebb3bf06f5..3ccb84aa5dbc 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965-rs.c +++ b/drivers/net/wireless/iwlwifi/iwl-4965-rs.c | |||
@@ -2265,9 +2265,7 @@ static void rs_rate_init(void *priv_rate, void *priv_sta, | |||
2265 | 2265 | ||
2266 | /* as default allow aggregation for all tids */ | 2266 | /* as default allow aggregation for all tids */ |
2267 | lq_sta->tx_agg_tid_en = IWL_AGG_ALL_TID; | 2267 | lq_sta->tx_agg_tid_en = IWL_AGG_ALL_TID; |
2268 | #ifdef CONFIG_MAC80211_DEBUGFS | ||
2269 | lq_sta->drv = priv; | 2268 | lq_sta->drv = priv; |
2270 | #endif | ||
2271 | 2269 | ||
2272 | rs_initialize_lq(priv, conf, sta); | 2270 | rs_initialize_lq(priv, conf, sta); |
2273 | } | 2271 | } |