fix(wpa_supplicant): Fix wpa3 AP crash because of dangling pointer

This commit is contained in:
Shreyas Sheth
2024-06-06 11:19:17 +05:30
parent f81b598d10
commit 298bca09ec

View File

@ -561,6 +561,7 @@ int wpa3_hostap_auth_init(void *data)
&g_wpa3_hostap_task_hdl) != pdPASS) {
wpa_printf(MSG_ERROR, "wpa3_hostap_auth_init: failed to create task");
os_queue_delete(g_wpa3_hostap_evt_queue);
g_wpa3_hostap_evt_queue = NULL;
return ESP_FAIL;
}