提交 6c537907 编写于 作者: T Tomas Winkler 提交者: John W. Linville

iwlwifi: rs always set lq_sta->priv

This patch fixes printk NULL pointer exceptions in rs code.
Signed-off-by: NTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: NGuy Cohen <guy.cohen@intel.com>
Signed-off-by: NZhu Yi <yi.zhu@intel.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册