wlantest: Include the MLD MAC address of the AP MLD in new-STA prints
This makes the "Discovered new STA" entries in the debug log easier to use when analyzing roaming cases with MLO. Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
parent
5434a42ec6
commit
a19fcf685c
1 changed files with 4 additions and 2 deletions
|
@ -97,8 +97,10 @@ struct wlantest_sta * sta_get(struct wlantest_bss *bss, const u8 *addr)
|
|||
sta->bss = bss;
|
||||
os_memcpy(sta->addr, addr, ETH_ALEN);
|
||||
dl_list_add(&bss->sta, &sta->list);
|
||||
wpa_printf(MSG_DEBUG, "Discovered new STA " MACSTR " in BSS " MACSTR,
|
||||
MAC2STR(sta->addr), MAC2STR(bss->bssid));
|
||||
wpa_printf(MSG_DEBUG, "Discovered new STA " MACSTR " in BSS " MACSTR
|
||||
" (MLD " MACSTR ")",
|
||||
MAC2STR(sta->addr),
|
||||
MAC2STR(bss->bssid), MAC2STR(bss->mld_mac_addr));
|
||||
return sta;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue