mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-16 15:45:45 +00:00
iwlegacy: 4965: remove vif null check in request_scan
remove null check on vif in il4965_request_scan Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu> Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
This commit is contained in:
parent
c63b2d01b1
commit
730b4c2102
1 changed files with 1 additions and 2 deletions
|
@ -850,7 +850,6 @@ 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);
|
||||
|
||||
if (!il->scan_cmd) {
|
||||
|
|
Loading…
Reference in a new issue