mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(wpa_supplicant): Fix wpa3 AP crash because of dangling pointer
This commit is contained in:
parent
c1f50a8eae
commit
a14d4ea8a4
@ -555,6 +555,7 @@ int wpa3_hostap_auth_init(void *data)
|
|||||||
&g_wpa3_hostap_task_hdl) != pdPASS) {
|
&g_wpa3_hostap_task_hdl) != pdPASS) {
|
||||||
wpa_printf(MSG_ERROR, "wpa3_hostap_auth_init: failed to create task");
|
wpa_printf(MSG_ERROR, "wpa3_hostap_auth_init: failed to create task");
|
||||||
os_queue_delete(g_wpa3_hostap_evt_queue);
|
os_queue_delete(g_wpa3_hostap_evt_queue);
|
||||||
|
g_wpa3_hostap_evt_queue = NULL;
|
||||||
return ESP_FAIL;
|
return ESP_FAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user