diff options
author | Greg Dietsche <Gregory.Dietsche@cuw.edu> | 2011-09-06 18:33:51 -0400 |
---|---|---|
committer | Stanislaw Gruszka <sgruszka@redhat.com> | 2011-11-16 06:51:15 -0500 |
commit | 730b4c2102902a0061bb01a3d3fa1b6461973849 (patch) | |
tree | 372189ef00dc42310cb0339fb95c1363af1f378e | |
parent | c63b2d01b1bec83f31259651a0ed2a26104cb7a3 (diff) |
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>
-rw-r--r-- | drivers/net/wireless/iwlegacy/4965-mac.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlegacy/4965-mac.c b/drivers/net/wireless/iwlegacy/4965-mac.c index 8d2f6162d6e8..4aaef4135564 100644 --- a/drivers/net/wireless/iwlegacy/4965-mac.c +++ b/drivers/net/wireless/iwlegacy/4965-mac.c | |||
@@ -850,8 +850,7 @@ il4965_request_scan(struct il_priv *il, struct ieee80211_vif *vif) | |||
850 | 850 | ||
851 | lockdep_assert_held(&il->mutex); | 851 | lockdep_assert_held(&il->mutex); |
852 | 852 | ||
853 | if (vif) | 853 | ctx = il_rxon_ctx_from_vif(vif); |
854 | ctx = il_rxon_ctx_from_vif(vif); | ||
855 | 854 | ||
856 | if (!il->scan_cmd) { | 855 | if (!il->scan_cmd) { |
857 | il->scan_cmd = | 856 | il->scan_cmd = |