From: Jouni Malinen Date: Fri, 23 Aug 2013 09:03:28 +0000 (+0300) Subject: nl80211: Add more debug prints for DEL_STATION commands X-Git-Tag: aosp-kk-from-upstream~91 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83e7bb0e5dcb19fe76ceed73bfe0a6c8ce88bb72;p=thirdparty%2Fhostap.git nl80211: Add more debug prints for DEL_STATION commands This makes the debug log clearer on AP mode STA operations. Signed-hostap: Jouni Malinen --- diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index 2f30cda99..c3c9aff77 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -6686,6 +6686,9 @@ static int wpa_driver_nl80211_sta_remove(struct i802_bss *bss, const u8 *addr) NLA_PUT(msg, NL80211_ATTR_MAC, ETH_ALEN, addr); ret = send_and_recv_msgs(drv, msg, NULL, NULL); + wpa_printf(MSG_DEBUG, "nl80211: sta_remove -> DEL_STATION %s " MACSTR + " --> %d (%s)", + bss->ifname, MAC2STR(addr), ret, strerror(-ret)); if (ret == -ENOENT) return 0; return ret; @@ -8364,6 +8367,8 @@ static int i802_flush(void *priv) if (!msg) return -1; + wpa_printf(MSG_DEBUG, "nl80211: flush -> DEL_STATION %s (all)", + bss->ifname); nl80211_cmd(drv, msg, 0, NL80211_CMD_DEL_STATION); /*