DPP: Clear push button announcement state on wpa_supplicant FLUSH
This was already done in hostapd and same is needed for wpa_supplicant to avoid testing issues due to session overlap detection from previous test cases. Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
parent
35587fa8f3
commit
def33101c8
1 changed files with 13 additions and 0 deletions
|
@ -8441,6 +8441,19 @@ static void wpa_supplicant_ctrl_iface_flush(struct wpa_supplicant *wpa_s)
|
||||||
wpas_dpp_chirp_stop(wpa_s);
|
wpas_dpp_chirp_stop(wpa_s);
|
||||||
wpa_s->dpp_pfs_fallback = 0;
|
wpa_s->dpp_pfs_fallback = 0;
|
||||||
#endif /* CONFIG_DPP2 */
|
#endif /* CONFIG_DPP2 */
|
||||||
|
#ifdef CONFIG_DPP3
|
||||||
|
{
|
||||||
|
int i;
|
||||||
|
|
||||||
|
for (i = 0; i < DPP_PB_INFO_COUNT; i++) {
|
||||||
|
struct dpp_pb_info *info;
|
||||||
|
|
||||||
|
info = &wpa_s->dpp_pb[i];
|
||||||
|
info->rx_time.sec = 0;
|
||||||
|
info->rx_time.usec = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif /* CONFIG_DPP3 */
|
||||||
#ifdef CONFIG_TESTING_OPTIONS
|
#ifdef CONFIG_TESTING_OPTIONS
|
||||||
os_memset(dpp_pkex_own_mac_override, 0, ETH_ALEN);
|
os_memset(dpp_pkex_own_mac_override, 0, ETH_ALEN);
|
||||||
os_memset(dpp_pkex_peer_mac_override, 0, ETH_ALEN);
|
os_memset(dpp_pkex_peer_mac_override, 0, ETH_ALEN);
|
||||||
|
|
Loading…
Reference in a new issue