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
2 changed files with 2 additions and 2 deletions

View File

@@ -2533,7 +2533,7 @@ int wpa_set_bss(char *macddr, char * bssid, u8 pairwise_cipher, u8 group_cipher,
if (res < 0)
return -1;
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)
return -1;
assoc_rsnxe_len = res;