summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: afbf3b6)
raw | patch | inline | side by side (parent: afbf3b6)
author | Barak Bercovitz <barak@wizery.com> | |
Sun, 3 Nov 2013 13:22:44 +0000 (15:22 +0200) | ||
committer | Arik Nemtsov <arik@wizery.com> | |
Wed, 18 Dec 2013 16:20:18 +0000 (18:20 +0200) |
sched scan fills filter_ssids with non empty ssids
that may be non-hidden (not scan_ssid=1)
so we may get to a point where some hidden ssids aren't filtered
and we don't start a normal scan for them, since
total number of hidden ssid < max_sched_scan_ssids.
to solve this, we count all active ssids instead of just the
scan_ssid=1 ones
that may be non-hidden (not scan_ssid=1)
so we may get to a point where some hidden ssids aren't filtered
and we don't start a normal scan for them, since
total number of hidden ssid < max_sched_scan_ssids.
to solve this, we count all active ssids instead of just the
scan_ssid=1 ones
wpa_supplicant/wpa_supplicant.c | patch | blob | history |
index 8d1990d763adc002a8e92546714cd3b3ead3751a..5af25bfbd1d7e9fb8e7f7562621f16fa89ec5c30 100644 (file)
int cnt = 0;
for (ssid = wpa_s->conf->ssid; ssid; ssid = ssid->next)
- if (!wpas_network_disabled(wpa_s, ssid) && ssid->scan_ssid)
+ if (!wpas_network_disabled(wpa_s, ssid))
cnt++;
- wpa_dbg(wpa_s, MSG_DEBUG, "Total active hidden networks %d", cnt);
+ wpa_dbg(wpa_s, MSG_DEBUG, "Total active networks %d", cnt);
return cnt;
}