mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-29 08:14:02 -05:00
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
@ -85,6 +85,7 @@ static int pno_start(struct wpa_supplicant *wpa_s)
|
|||||||
if (params.filter_ssids == NULL)
|
if (params.filter_ssids == NULL)
|
||||||
return -1;
|
return -1;
|
||||||
i = 0;
|
i = 0;
|
||||||
|
ssid = wpa_s->conf->ssid;
|
||||||
while (ssid) {
|
while (ssid) {
|
||||||
if (!ssid->disabled) {
|
if (!ssid->disabled) {
|
||||||
params.ssids[i].ssid = ssid->ssid;
|
params.ssids[i].ssid = ssid->ssid;
|
||||||
|
Loading…
Reference in New Issue
Block a user