Merge branch 'bugfix/wps_scan_freq_v5.0' into 'release/v5.0'

fix(esp_wifi): Reduce scan frequency in WPS (v5.0)

See merge request espressif/esp-idf!36824
This commit is contained in:
Jiang Jiang Jian 2025-02-12 16:10:45 +08:00
commit 45ff2887e7
2 changed files with 2 additions and 2 deletions

View File

@ -1670,7 +1670,7 @@ wifi_wps_scan_done(void *arg, 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