From 0b0b38ea4cae8b7dc466846a268fee9f6646a205 Mon Sep 17 00:00:00 2001 From: Shreyas Sheth Date: Tue, 23 Sep 2025 15:08:04 +0530 Subject: [PATCH] fix(esp_wifi): Set default nvs value for sae identifier to NULL Resolves regression introduced in 6f7cf98ffe849c364c534d09fbce9024f56e1e19 which may impact WPA3 station connection in certain conditions --- components/esp_wifi/include/esp_wifi_types_generic.h | 2 +- components/esp_wifi/lib | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/esp_wifi/include/esp_wifi_types_generic.h b/components/esp_wifi/include/esp_wifi_types_generic.h index 3f6fd70055..1c4bb7b213 100644 --- a/components/esp_wifi/include/esp_wifi_types_generic.h +++ b/components/esp_wifi/include/esp_wifi_types_generic.h @@ -581,7 +581,7 @@ typedef struct { uint32_t vht_mu_beamformee_disabled: 1; /**< Whether to disable support for operation as an VHT MU beamformee. */ uint32_t vht_mcs8_enabled: 1; /**< Whether to support VHT-MCS8. The default value is 0. */ uint32_t reserved2: 19; /**< Reserved for future feature set */ - uint8_t sae_h2e_identifier[SAE_H2E_IDENTIFIER_LEN];/**< Password identifier for H2E. this needs to be null terminated string */ + uint8_t sae_h2e_identifier[SAE_H2E_IDENTIFIER_LEN]; /**< Password identifier for H2E. Strings null-terminated (length < SAE_H2E_IDENTIFIER_LEN) or non-null terminated (length = SAE_H2E_IDENTIFIER_LEN) are accepted. Non-null terminated string with 0xFF for full length of SAE_H2E_IDENTIFIER_LEN is not considered a valid identifier */ } wifi_sta_config_t; /** diff --git a/components/esp_wifi/lib b/components/esp_wifi/lib index 0b719267d4..0e7080ea59 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit 0b719267d459d9005e352e22a9c2dfcdf2d3f552 +Subproject commit 0e7080ea59152258608522876ac91b227e1883e9