Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 730b4c21 authored by Greg Dietsche's avatar Greg Dietsche Committed by Stanislaw Gruszka
Browse files

iwlegacy: 4965: remove vif null check in request_scan



remove null check on vif in il4965_request_scan

Signed-off-by: default avatarGreg Dietsche <Gregory.Dietsche@cuw.edu>
Signed-off-by: default avatarStanislaw Gruszka <sgruszka@redhat.com>
parent c63b2d01
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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) {