]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Indicated if the selected BSS is the current BSS
authorJouni Malinen <j@w1.fi>
Wed, 1 Jan 2020 15:55:00 +0000 (17:55 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 1 Jan 2020 15:55:26 +0000 (17:55 +0200)
This makes scan result processing a bit more readable in debug log.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/events.c

index 4daab3f2ffe4d9d972bb2fc928d97de1c1b75db9..603d4dabbd655911d08208d06ae1cf723b31448c 100644 (file)
@@ -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;