OSDN Git Service

Add pending BSSID in the state change message
authorDmitry Shmidt <dimitrysh@google.com>
Tue, 26 Jan 2010 00:32:06 +0000 (16:32 -0800)
committerDmitry Shmidt <dimitrysh@google.com>
Tue, 26 Jan 2010 00:32:06 +0000 (16:32 -0800)
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
wpa_supplicant/wpa_supplicant.c

index b411546..b66061e 100644 (file)
@@ -502,7 +502,7 @@ void wpa_supplicant_set_state(struct wpa_supplicant *wpa_s, wpa_states state)
                                                wpa_s->wpa_state);
 #ifdef ANDROID
        wpa_msg(wpa_s, MSG_INFO, WPA_EVENT_STATE_CHANGE "id=%d state=%d BSSID=" MACSTR,
-               network_id, reported_state, MAC2STR(wpa_s->bssid));
+               network_id, reported_state, MAC2STR(wpa_s->pending_bssid));
 #endif
 
        if (state == WPA_COMPLETED && wpa_s->new_connection) {