fix(wpa_supplicant): Handle case when WPS registrar misses WSC_DONE sent by station

When registrar somehow misses the WSC_DONE sent by station and station
goes for next connection after sending deauth, make sure that softAP
disables the registrar.
This commit is contained in:
Sarvesh Bodakhe
2024-04-29 12:59:21 +05:30
parent cd24013198
commit 54e61fbb97
2 changed files with 8 additions and 1 deletions

View File

@@ -220,7 +220,7 @@ int esp_wifi_ap_wps_enable(const esp_wps_config_t *config)
return ret;
}
static int wifi_ap_wps_disable_internal(void)
int wifi_ap_wps_disable_internal(void)
{
struct wps_sm *sm = gWpsSm;