Commit 6c537907 authored by Tomas Winkler's avatar Tomas Winkler Committed by John W. Linville

iwlwifi: rs always set lq_sta->priv

This patch fixes printk NULL pointer exceptions in rs code.
Signed-off-by: default avatarTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: default avatarGuy Cohen <guy.cohen@intel.com>
Signed-off-by: default avatarZhu Yi <yi.zhu@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 65fdbb48
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment