mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 17:19:09 -04:00
fix(esp_wifi): Reduce scan frequency in WPS
This commit is contained in:
parent
d81b820331
commit
0f48edcc35
@ -1647,7 +1647,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;
|
||||
}
|
||||
|
@ -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