[PATCH] Setting state to COMPLETE if AP set successfully

Witold Sowa witold.sowa
Wed Jul 22 14:05:31 PDT 2009


---
 wpa_supplicant/ap.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/wpa_supplicant/ap.c b/wpa_supplicant/ap.c
index 95acd5c..0f17c26 100644
--- a/wpa_supplicant/ap.c
+++ b/wpa_supplicant/ap.c
@@ -469,6 +469,7 @@ int wpa_supplicant_create_ap(struct wpa_supplicant *wpa_s,
                return -1;
        }

+       wpa_supplicant_set_state(wpa_s, WPA_COMPLETED);
        return 0;
 }

--
1.6.0.2



More information about the Hostap mailing list