diff --git a/modules/hostap/src/supp_main.c b/modules/hostap/src/supp_main.c index 982554a373d4898..48748b9dc3fac08 100644 --- a/modules/hostap/src/supp_main.c +++ b/modules/hostap/src/supp_main.c @@ -28,7 +28,6 @@ LOG_MODULE_REGISTER(wpa_supplicant, LOG_LEVEL_DBG); struct wpa_supplicant *wpa_s_0; static void start_wpa_supplicant(void); -static struct k_sem quit_lock; K_THREAD_DEFINE(wpa_s_tid, CONFIG_WPA_SUPP_THREAD_STACK_SIZE, @@ -184,6 +183,5 @@ static void start_wpa_supplicant(void) #endif /* CONFIG_MATCH_IFACE */ os_free(params.pid_file); - k_sem_give(&quit_lock); wpa_printf(MSG_INFO, "%s: exitcode %d", __func__, exitcode); }