diff options
author | Irfan Sheriff <isheriff@google.com> | 2012-08-01 11:10:15 -0700 |
---|---|---|
committer | Irfan Sheriff <isheriff@google.com> | 2012-08-01 12:49:32 -0700 |
commit | e78e767aea5576ec0ba7edadfe25fd9dc7dce48f (patch) | |
tree | 0fe2bedc67d59177f0a7bc2aca5fc9ee7d11c6c2 /wpa_supplicant | |
parent | 058ddafa7d3986f4fdfb883551adc17af73dbc3b (diff) | |
download | external_wpa_supplicant_8-e78e767aea5576ec0ba7edadfe25fd9dc7dce48f.zip external_wpa_supplicant_8-e78e767aea5576ec0ba7edadfe25fd9dc7dce48f.tar.gz external_wpa_supplicant_8-e78e767aea5576ec0ba7edadfe25fd9dc7dce48f.tar.bz2 |
Use bssid instead of pending_bssid
pending_bssid is not valid during roaming, use bssid
Bug: 6915644
Change-Id: Ib2181a41845f90812bd7428dbef6433adfe9f749
Diffstat (limited to 'wpa_supplicant')
-rw-r--r-- | wpa_supplicant/ctrl_iface.c | 2 | ||||
-rw-r--r-- | wpa_supplicant/notify.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/wpa_supplicant/ctrl_iface.c b/wpa_supplicant/ctrl_iface.c index 2224738..82d26e3 100644 --- a/wpa_supplicant/ctrl_iface.c +++ b/wpa_supplicant/ctrl_iface.c @@ -1146,7 +1146,7 @@ static int wpa_supplicant_ctrl_iface_status(struct wpa_supplicant *wpa_s, "id=%d state=%d BSSID=" MACSTR " SSID=%s", wpa_s->current_ssid ? wpa_s->current_ssid->id : -1, wpa_s->wpa_state, - MAC2STR(wpa_s->pending_bssid), + MAC2STR(wpa_s->bssid), wpa_s->current_ssid && wpa_s->current_ssid->ssid ? wpa_ssid_txt(wpa_s->current_ssid->ssid, wpa_s->current_ssid->ssid_len) : ""); diff --git a/wpa_supplicant/notify.c b/wpa_supplicant/notify.c index 59e6975..770907c 100644 --- a/wpa_supplicant/notify.c +++ b/wpa_supplicant/notify.c @@ -93,7 +93,7 @@ void wpas_notify_state_changed(struct wpa_supplicant *wpa_s, "id=%d state=%d BSSID=" MACSTR " SSID=%s", wpa_s->current_ssid ? wpa_s->current_ssid->id : -1, new_state, - MAC2STR(wpa_s->pending_bssid), + MAC2STR(wpa_s->bssid), wpa_s->current_ssid && wpa_s->current_ssid->ssid ? wpa_ssid_txt(wpa_s->current_ssid->ssid, wpa_s->current_ssid->ssid_len): ""); |