From: Jouni Malinen Date: Thu, 10 Aug 2023 08:46:07 +0000 (+0300) Subject: wlantest: Include the MLD MAC address of the AP MLD in new-STA prints X-Git-Tag: hostap_2_11~1063 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a19fcf685caee22bd342a7deb8ce0e9d65109b49;p=thirdparty%2Fhostap.git 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 --- diff --git a/wlantest/sta.c b/wlantest/sta.c index f3a538fef..d6110217c 100644 --- a/wlantest/sta.c +++ b/wlantest/sta.c @@ -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; }