mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 17:19:09 -04:00
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:
commit
45ff2887e7
@ -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;
|
||||
}
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user