From 137fb724b39d01624ef54a58a3a3a1ab9e7f69ac Mon Sep 17 00:00:00 2001 From: Witold Sowa Date: Sat, 25 Jul 2009 17:01:23 +0300 Subject: [PATCH] Set state to COMPLETE when AP mode has been initialized successfully --- wpa_supplicant/ap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wpa_supplicant/ap.c b/wpa_supplicant/ap.c index 1ca192f3d..e45407d61 100644 --- a/wpa_supplicant/ap.c +++ b/wpa_supplicant/ap.c @@ -469,6 +469,8 @@ int wpa_supplicant_create_ap(struct wpa_supplicant *wpa_s, return -1; } + wpa_supplicant_set_state(wpa_s, WPA_COMPLETED); + return 0; }