Skip to content

Commit 33e6eaa

Browse files
Shreyas0-7espressif-bot
authored andcommitted
fix(wpa_supplicant): Fix wpa3 AP crash because of dangling pointer
1 parent ce7393f commit 33e6eaa

File tree

1 file changed

+1
-0
lines changed
  • components/wpa_supplicant/esp_supplicant/src

1 file changed

+1
-0
lines changed

components/wpa_supplicant/esp_supplicant/src/esp_wpa3.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,7 @@ int wpa3_hostap_auth_init(void *data)
564564
&g_wpa3_hostap_task_hdl) != pdPASS) {
565565
wpa_printf(MSG_ERROR, "wpa3_hostap_auth_init: failed to create task");
566566
os_queue_delete(g_wpa3_hostap_evt_queue);
567+
g_wpa3_hostap_evt_queue = NULL;
567568
return ESP_FAIL;
568569
}
569570

0 commit comments

Comments
 (0)