Merge branch 'bugfix/wpa3_init_crash_v5.1' into 'release/v5.1'

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

See merge request espressif/esp-idf!31542
This commit is contained in:
Jiang Jiang Jian 2024-07-01 10:52:16 +08:00
commit 078aff1033

View File

@ -555,6 +555,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;
}