mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
Fix a never-ending loop with multiple radios in wpa_supplicant
Commit 202dec2a94
introduced a never
ending loop for a case where a single wpa_supplicant process is used
with multiple radios. Fix this by advancing the iface pointer properly
to the next interface in the loop until a NULL pointer is hit.
Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
parent
493ba877c3
commit
b154a24e83
@ -2905,6 +2905,8 @@ static struct wpa_radio * radio_add_interface(struct wpa_supplicant *wpa_s,
|
||||
dl_list_add(&radio->ifaces, &wpa_s->radio_list);
|
||||
return radio;
|
||||
}
|
||||
|
||||
iface = iface->next;
|
||||
}
|
||||
|
||||
wpa_printf(MSG_DEBUG, "Add interface %s to a new radio %s",
|
||||
|
Loading…
Reference in New Issue
Block a user