mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 09:09:10 -04:00
Merge branch 'feature/github-7248' into 'master'
wpa_supplicant: Fix wps_free_pins to remove all pins Closes IDFGH-5519 See merge request espressif/esp-idf!15419
This commit is contained in:
commit
ca49e96186
@ -101,8 +101,8 @@ static void wps_remove_pin(struct wps_uuid_pin *pin)
|
||||
static void wps_free_pins(struct dl_list *pins)
|
||||
{
|
||||
struct wps_uuid_pin *pin, *prev;
|
||||
dl_list_for_each_safe(pin, prev, pins, struct wps_uuid_pin, list);
|
||||
wps_remove_pin(pin);
|
||||
dl_list_for_each_safe(pin, prev, pins, struct wps_uuid_pin, list)
|
||||
wps_remove_pin(pin);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user