This makes it easier to interpret debug logs in case hostapd controls multiple interfaces and a STA roams between them. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
@@ -59,6 +59,8 @@ static int prune_associations(struct hostapd_iface *iface, void *ctx)
if (!osta)
continue;
+ wpa_printf(MSG_INFO, "%s: Prune association for " MACSTR,
+ ohapd->conf->iface, MAC2STR(osta->addr));
ap_sta_disassociate(ohapd, osta, WLAN_REASON_UNSPECIFIED);
}