projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c63b2d0
)
iwlegacy: 4965: remove vif null check in request_scan
author
Greg Dietsche
<
[email protected]
>
Tue, 6 Sep 2011 22:33:51 +0000
(17:33 -0500)
committer
Stanislaw Gruszka
<
[email protected]
>
Wed, 16 Nov 2011 11:51:15 +0000
(12:51 +0100)
remove null check on vif in il4965_request_scan
Signed-off-by: Greg Dietsche <
[email protected]
>
Signed-off-by: Stanislaw Gruszka <
[email protected]
>
drivers/net/wireless/iwlegacy/4965-mac.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/iwlegacy/4965-mac.c
b/drivers/net/wireless/iwlegacy/4965-mac.c
index 8d2f6162d6e868c4ad9ff189ed722a4c4510a50a..4aaef4135564efc67bd382b2437489ed0a430d73 100644
(file)
--- 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)
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 =