From: Jouni Malinen Date: Thu, 31 Oct 2013 19:56:40 +0000 (+0200) Subject: nl80211: Add a debug print for DEL_BEACON X-Git-Tag: hostap_2_1~697 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08e55ebbb0c49aa7808e5c0c66603b22050c61ed;p=thirdparty%2Fhostap.git nl80211: Add a debug print for DEL_BEACON This is quite helpful in debugging beaconing issues. Signed-hostap: Jouni Malinen --- diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index 72564e7f6..16f1ff828 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -4188,6 +4188,8 @@ static int wpa_driver_nl80211_del_beacon(struct wpa_driver_nl80211_data *drv) if (!msg) return -ENOMEM; + wpa_printf(MSG_DEBUG, "nl80211: Remove beacon (ifindex=%d)", + drv->ifindex); nl80211_cmd(drv, msg, 0, NL80211_CMD_DEL_BEACON); NLA_PUT_U32(msg, NL80211_ATTR_IFINDEX, drv->ifindex);