From b2cc805619cd60fdbb6fdc869f7716ab1d02a7bd Mon Sep 17 00:00:00 2001 From: Witold Sowa Date: Sat, 15 Aug 2009 21:04:50 +0300 Subject: [PATCH] Set current ssid when entering AP mode After successful starting AP mode, current_ssid field is set to ssid used to create AP. --- wpa_supplicant/ap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/wpa_supplicant/ap.c b/wpa_supplicant/ap.c index 7907267a2..06d6d2e4a 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;