Merge branch 'bugfix/wps_scan_freq' into 'master'

fix(esp_wifi): Reduce scan frequency in WPS

See merge request espressif/esp-idf!35866
This commit is contained in:
Kapil Gupta 2025-02-10 16:46:20 +08:00
commit 7bb6c67efe
2 changed files with 2 additions and 2 deletions

View File

@ -1675,7 +1675,7 @@ wifi_wps_scan_done(void *arg, ETS_STATUS status)
sm->ignore_sel_reg = true;
}
eloop_cancel_timeout(wifi_wps_scan, NULL, NULL);
eloop_register_timeout(0, 100*1000, wifi_wps_scan, NULL, NULL);
eloop_register_timeout(2, 0, wifi_wps_scan, NULL, NULL);
} else {
return;
}

View File

@ -50,7 +50,7 @@ enum wps_sm_state {
};
#endif /* ESP_SUPPLICANT */
#define WPS_IGNORE_SEL_REG_MAX_CNT 4
#define WPS_IGNORE_SEL_REG_MAX_CNT 10
#define WPS_MAX_DIS_AP_NUM 10