fix(esp_wifi): Fixed static analyzer issues

This commit is contained in:
Kapil Gupta
2025-05-20 21:29:45 +05:30
parent 2ce481ffbd
commit 17cd200c67
12 changed files with 42 additions and 24 deletions

View File

@@ -1629,6 +1629,7 @@ SM_STATE(WPA_PTK, PTKCALCNEGOTIATING)
SM_ENTRY_MA(WPA_PTK, PTKCALCNEGOTIATING, wpa_ptk);
sm->EAPOLKeyReceived = FALSE;
sm->update_snonce = FALSE;
os_memset(&PTK, 0, sizeof(PTK));
pmk_len = PMK_LEN;
/* WPA with IEEE 802.1X: use the derived PMK from EAP