Clear ignore_old_scan_res on FLUSH command
The hwsim test cases are trying to clear this parameter between test cases, but that was not really done correctly for many of the sigma_dut test cases. Instead of fixing the text scripts to do this more carefully, it seems to be simpler to just force the FLUSH command to clear this. Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
parent
f80d7757fa
commit
632a9995c8
1 changed files with 2 additions and 0 deletions
|
@ -8590,6 +8590,8 @@ static void wpa_supplicant_ctrl_iface_flush(struct wpa_supplicant *wpa_s)
|
||||||
|
|
||||||
if (wpa_s->mac_addr_changed && wpa_s->conf->mac_addr == 0)
|
if (wpa_s->mac_addr_changed && wpa_s->conf->mac_addr == 0)
|
||||||
wpas_restore_permanent_mac_addr(wpa_s);
|
wpas_restore_permanent_mac_addr(wpa_s);
|
||||||
|
|
||||||
|
wpa_s->conf->ignore_old_scan_res = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue