提交 730b4c21 编写于 作者: G Greg Dietsche 提交者: Stanislaw Gruszka

iwlegacy: 4965: remove vif null check in request_scan

remove null check on vif in il4965_request_scan
Signed-off-by: NGreg Dietsche <Gregory.Dietsche@cuw.edu>
Signed-off-by: NStanislaw Gruszka <sgruszka@redhat.com>
上级 c63b2d01
......@@ -850,8 +850,7 @@ il4965_request_scan(struct il_priv *il, struct ieee80211_vif *vif)
lockdep_assert_held(&il->mutex);
if (vif)
ctx = il_rxon_ctx_from_vif(vif);
ctx = il_rxon_ctx_from_vif(vif);
if (!il->scan_cmd) {
il->scan_cmd =
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册