wl12xx: fix wl12xx_scan_sched_scan_ssid_list() check that all given ssids are in filters
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>
This commit is contained in:
committed by
John W. Linville
parent
a59be0811c
commit
cc438fccd5
@@ -559,7 +559,7 @@ wl12xx_scan_sched_scan_ssid_list(struct wl1271 *wl,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
/* Fail if SSID isn't present in the filters */
|
/* Fail if SSID isn't present in the filters */
|
||||||
if (j == req->n_ssids) {
|
if (j == cmd->n_ssids) {
|
||||||
ret = -EINVAL;
|
ret = -EINVAL;
|
||||||
goto out_free;
|
goto out_free;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user