projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a59be08
)
wl12xx: fix wl12xx_scan_sched_scan_ssid_list() check that all given ssids are in...
author
Eyal Shapira
<eyal@wizery.com>
Tue, 8 Nov 2011 13:54:46 +0000
(15:54 +0200)
committer
John W. Linville
<linville@tuxdriver.com>
Tue, 8 Nov 2011 20:02:45 +0000
(15:02 -0500)
A minor fix for the check that verifies that all given SSIDs (in req) exist
in the filters (the match sets)
Signed-off-by: Eyal Shapira <eyal@wizery.com>
Acked-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/scan.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wireless/wl12xx/scan.c
b/drivers/net/wireless/wl12xx/scan.c
index 128ccb79318c86c7e0a8bc4a65c61389b58e959f..fc29c671cf3b34db3fc695fbd70209720a3c52e8 100644
(file)
--- a/
drivers/net/wireless/wl12xx/scan.c
+++ b/
drivers/net/wireless/wl12xx/scan.c
@@
-559,7
+559,7
@@
wl12xx_scan_sched_scan_ssid_list(struct wl1271 *wl,
break;
}
/* Fail if SSID isn't present in the filters */
- if (j ==
req
->n_ssids) {
+ if (j ==
cmd
->n_ssids) {
ret = -EINVAL;
goto out_free;
}