Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cc438fcc authored by Eyal Shapira's avatar Eyal Shapira Committed by John W. Linville
Browse files

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: default avatarEyal Shapira <eyal@wizery.com>
Acked-by: default avatarLuciano Coelho <coelho@ti.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent a59be081
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
				}