mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 10:47:19 +02:00
Merge branch 'bugfix/fix_wps_with_sae_enabled_ap_v4.4' into 'release/v4.4'
esp_wifi: Fix WPS issue for WPA3+WPA2 mode(v4.4) See merge request espressif/esp-idf!24156
This commit is contained in:
@ -150,6 +150,7 @@ static u8 *wpa3_build_sae_msg(u8 *bssid, u32 sae_msg_type, size_t *sae_msg_len)
|
|||||||
case SAE_MSG_COMMIT:
|
case SAE_MSG_COMMIT:
|
||||||
/* Do not go for SAE when WPS is ongoing */
|
/* Do not go for SAE when WPS is ongoing */
|
||||||
if (esp_wifi_get_wps_status_internal() != WPS_STATUS_DISABLE) {
|
if (esp_wifi_get_wps_status_internal() != WPS_STATUS_DISABLE) {
|
||||||
|
*sae_msg_len = 0;
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
if (ESP_OK != wpa3_build_sae_commit(bssid, sae_msg_len))
|
if (ESP_OK != wpa3_build_sae_commit(bssid, sae_msg_len))
|
||||||
|
Reference in New Issue
Block a user