From 2e192bd08f834b1657fb5dcc034e600594297419 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Mon, 13 Apr 2015 17:01:21 +0300 Subject: [PATCH] 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 --- src/ap/utils.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ap/utils.c b/src/ap/utils.c index 931968c84..d60555a87 100644 --- a/src/ap/utils.c +++ b/src/ap/utils.c @@ -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); }