Set state to COMPLETE when AP mode has been initialized successfully
authorWitold Sowa <witold.sowa@gmail.com>
Sat, 25 Jul 2009 14:01:23 +0000 (17:01 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 25 Jul 2009 14:01:23 +0000 (17:01 +0300)
wpa_supplicant/ap.c

index 1ca192f..e45407d 100644 (file)
@@ -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;
 }