feat(wifi): Refactor and update wpa_supplicant with upstream

This commit is contained in:
Shreyas Sheth
2023-10-09 09:26:32 +05:30
parent 1685dbc985
commit e746fc0deb
9 changed files with 148 additions and 106 deletions

View File

@@ -590,7 +590,7 @@ static int eap_sm_rx_eapol_internal(u8 *src_addr, u8 *buf, u32 len, uint8_t *bss
break;
case EAP_CODE_SUCCESS:
if (sm->eapKeyData) {
wpa_set_pmk(sm->eapKeyData, NULL, false);
wpa_set_pmk(sm->eapKeyData, 0, NULL, false);
os_free(sm->eapKeyData);
sm->eapKeyData = NULL;
wpa_printf(MSG_INFO, ">>>>>EAP FINISH");