mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
P2P: Do not skip call to p2p_scan_res_handled()
Even if p2p_scan_res_handler() returns 1 to indicate that scan result iteration should be stopped, the p2p_scan_res_handled() needs to be called to clear p2p_scan_running and to get a callback that will start any operations that were delayed because of the running scan.
This commit is contained in:
parent
f44ae20783
commit
9bcf9541a7
@ -67,7 +67,7 @@ static void wpas_p2p_scan_res_handler(struct wpa_supplicant *wpa_s,
|
||||
bss->freq, bss->level,
|
||||
(const u8 *) (bss + 1),
|
||||
bss->ie_len) > 0)
|
||||
return;
|
||||
break;
|
||||
}
|
||||
|
||||
p2p_scan_res_handled(wpa_s->global->p2p);
|
||||
|
Loading…
Reference in New Issue
Block a user