aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2020-01-01 15:55:00 (GMT)
committerJouni Malinen <j@w1.fi>2020-01-01 15:55:26 (GMT)
commit988f14448ab5fe1f99495f8cd3c65fc331dc7e66 (patch)
tree3dc18ca5b6d2fe45c09893a281c63114f7683318
parenta8ad9c31db0e5357d19f74000d749eb4dc6b486b (diff)
downloadhostap-988f14448ab5fe1f99495f8cd3c65fc331dc7e66.zip
hostap-988f14448ab5fe1f99495f8cd3c65fc331dc7e66.tar.gz
hostap-988f14448ab5fe1f99495f8cd3c65fc331dc7e66.tar.bz2
Indicated if the selected BSS is the current BSS
This makes scan result processing a bit more readable in debug log. Signed-off-by: Jouni Malinen <j@w1.fi>
-rw-r--r--wpa_supplicant/events.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
index 4daab3f..603d4da 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -1446,8 +1446,9 @@ wpa_supplicant_select_bss(struct wpa_supplicant *wpa_s,
wpa_s->owe_transition_select = 0;
if (!*selected_ssid)
continue;
- wpa_dbg(wpa_s, MSG_DEBUG, " selected BSS " MACSTR
+ wpa_dbg(wpa_s, MSG_DEBUG, " selected %sBSS " MACSTR
" ssid='%s'",
+ bss == wpa_s->current_bss ? "current ": "",
MAC2STR(bss->bssid),
wpa_ssid_txt(bss->ssid, bss->ssid_len));
return bss;