Skip to content

Commit eee4837

Browse files
author
Jiang Jiang Jian
committed
Merge branch 'refactor/wps_eap_cleanup_v5.5' into 'release/v5.5'
refactor(esp_wifi): Remove WPS task code (v5.5) See merge request espressif/esp-idf!42441
2 parents 1a6bc96 + f63e81c commit eee4837

File tree

5 files changed

+552
-941
lines changed

5 files changed

+552
-941
lines changed

components/esp_wifi/Kconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -814,6 +814,14 @@ menu "Wi-Fi"
814814
be shared to other devices, making it in readable format increases
815815
that risk, also passphrase requires pbkdf2 to convert in psk.
816816

817+
config ESP_WIFI_WPS_RECONNECT_ON_FAIL
818+
bool "Reconnect to previous SSID if WPS failed"
819+
default n
820+
help
821+
Select this option to enable reconnection to previous SSID if WPS fails.
822+
This option will only work if station was connected to a network
823+
when WPS was started.
824+
817825
endmenu # "WPS Configuration Options"
818826

819827

components/wpa_supplicant/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,6 @@ target_compile_definitions(${COMPONENT_LIB} PRIVATE
264264
EAP_PEAP
265265
USE_WPA2_TASK
266266
CONFIG_WPS
267-
USE_WPS_TASK
268267
ESPRESSIF_USE
269268
CONFIG_ECC
270269
CONFIG_IEEE80211W
@@ -291,6 +290,9 @@ endif()
291290
if(CONFIG_ESP_WIFI_WPS_STRICT)
292291
target_compile_definitions(${COMPONENT_LIB} PRIVATE CONFIG_WPS_STRICT)
293292
endif()
293+
if(CONFIG_ESP_WIFI_WPS_RECONNECT_ON_FAIL)
294+
target_compile_definitions(${COMPONENT_LIB} PRIVATE CONFIG_WPS_RECONNECT_ON_FAIL)
295+
endif()
294296
if(CONFIG_ESP_WIFI_SUITE_B_192)
295297
target_compile_definitions(${COMPONENT_LIB} PRIVATE CONFIG_SUITEB192)
296298
endif()

0 commit comments

Comments
 (0)