Print debug entry on STA pruning from other interfaces

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>
This commit is contained in:
Jouni Malinen 2015-04-13 17:01:21 +03:00 committed by Jouni Malinen
parent 515b176e9c
commit 2e192bd08f

View file

@ -59,6 +59,8 @@ static int prune_associations(struct hostapd_iface *iface, void *ctx)
if (!osta) if (!osta)
continue; continue;
wpa_printf(MSG_INFO, "%s: Prune association for " MACSTR,
ohapd->conf->iface, MAC2STR(osta->addr));
ap_sta_disassociate(ohapd, osta, WLAN_REASON_UNSPECIFIED); ap_sta_disassociate(ohapd, osta, WLAN_REASON_UNSPECIFIED);
} }