Skip to content

Commit d918aa3

Browse files
author
muhaidong
committed
fix(wifi): fix miss internal wapi deinit issue
1 parent 1522b6b commit d918aa3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

components/wpa_supplicant/esp_supplicant/src/esp_wpa_main.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,9 @@ int esp_supplicant_deinit(void)
504504
esp_supplicant_unset_all_appie();
505505
eloop_destroy();
506506
wpa_cb = NULL;
507+
#if CONFIG_ESP_WIFI_WAPI_PSK
508+
esp_wifi_internal_wapi_deinit();
509+
#endif
507510
return esp_wifi_unregister_wpa_cb_internal();
508511
}
509512

0 commit comments

Comments
 (0)