Merge branch 'bugfix/set_generic_len_for_rsnxe_v5.0' into 'release/v5.0'

esp_wifi: bugfix RSNXE related changes

See merge request espressif/esp-idf!22420
This commit is contained in:
Jiang Jiang Jian 2023-03-21 12:35:11 +08:00
commit f9f4a23159
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 7fcf9b59c8ccbc138c186932e2b4d6fd3a03d332 Subproject commit 23513148785e21d800ada78f20088ebad54b47c6

View File

@ -2533,7 +2533,7 @@ int wpa_set_bss(char *macddr, char * bssid, u8 pairwise_cipher, u8 group_cipher,
if (res < 0) if (res < 0)
return -1; return -1;
sm->assoc_wpa_ie_len = res; sm->assoc_wpa_ie_len = res;
res = wpa_gen_rsnxe(sm ,assoc_rsnxe, assoc_rsnxe_len); res = wpa_gen_rsnxe(sm, assoc_rsnxe, assoc_rsnxe_len);
if (res < 0) if (res < 0)
return -1; return -1;
assoc_rsnxe_len = res; assoc_rsnxe_len = res;