Browse Source

Set state to COMPLETE when AP mode has been initialized successfully

Witold Sowa 15 years ago
parent
commit
137fb724b3
1 changed files with 2 additions and 0 deletions
  1. 2 0
      wpa_supplicant/ap.c

+ 2 - 0
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;
 }