]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Print debug entry on STA pruning from other interfaces
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 13 Apr 2015 14:01:21 +0000 (17:01 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 13 Apr 2015 14:08:10 +0000 (17:08 +0300)
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>
src/ap/utils.c

index 931968c84b0e8a5082257ed0c8918e6822f6b4aa..d60555a87bde2aa7cce4c0860c7ee53e668380c7 100644 (file)
@@ -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);
        }