Skip to content

Commit

Permalink
iwlegacy: 4965: remove vif null check in request_scan
Browse files Browse the repository at this point in the history
remove null check on vif in il4965_request_scan

Signed-off-by: Greg Dietsche <[email protected]>
Signed-off-by: Stanislaw Gruszka <[email protected]>
  • Loading branch information
farmergreg authored and Stanislaw Gruszka committed Nov 16, 2011
1 parent c63b2d0 commit 730b4c2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/net/wireless/iwlegacy/4965-mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit 730b4c2

Please sign in to comment.