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>
This commit is contained in:
parent
a8ad9c31db
commit
988f14448a
1 changed files with 2 additions and 1 deletions
|
@ -1446,8 +1446,9 @@ wpa_supplicant_select_bss(struct wpa_supplicant *wpa_s,
|
||||||
wpa_s->owe_transition_select = 0;
|
wpa_s->owe_transition_select = 0;
|
||||||
if (!*selected_ssid)
|
if (!*selected_ssid)
|
||||||
continue;
|
continue;
|
||||||
wpa_dbg(wpa_s, MSG_DEBUG, " selected BSS " MACSTR
|
wpa_dbg(wpa_s, MSG_DEBUG, " selected %sBSS " MACSTR
|
||||||
" ssid='%s'",
|
" ssid='%s'",
|
||||||
|
bss == wpa_s->current_bss ? "current ": "",
|
||||||
MAC2STR(bss->bssid),
|
MAC2STR(bss->bssid),
|
||||||
wpa_ssid_txt(bss->ssid, bss->ssid_len));
|
wpa_ssid_txt(bss->ssid, bss->ssid_len));
|
||||||
return bss;
|
return bss;
|
||||||
|
|
Loading…
Reference in a new issue