Set state to COMPLETE when AP mode has been initialized successfully

This commit is contained in:
Witold Sowa 2009-07-25 17:01:23 +03:00 committed by Jouni Malinen
parent c8878307c4
commit 137fb724b3

View 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;
}