[PATCH] Setting current ssid when entering AP mode
Witold Sowa
witold.sowa
Fri Aug 14 05:48:09 PDT 2009
After successful starting AP mode, current_ssid field is set to
ssid used to create AP.
---
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 1f97814..a7c6b53 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_s->current_ssid = ssid;
wpa_supplicant_set_state(wpa_s, WPA_COMPLETED);
return 0;
--
1.6.0.2
More information about the Hostap
mailing list