Fix pno_start() to initialize SSID list properly
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
This commit is contained in:
parent
0b7a25c00f
commit
d70b945d4d
1 changed files with 1 additions and 0 deletions
|
@ -85,6 +85,7 @@ static int pno_start(struct wpa_supplicant *wpa_s)
|
|||
if (params.filter_ssids == NULL)
|
||||
return -1;
|
||||
i = 0;
|
||||
ssid = wpa_s->conf->ssid;
|
||||
while (ssid) {
|
||||
if (!ssid->disabled) {
|
||||
params.ssids[i].ssid = ssid->ssid;
|
||||
|
|
Loading…
Reference in a new issue