nl80211: Add a debug print for DEL_BEACON
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 31 Oct 2013 19:56:40 +0000 (21:56 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 31 Oct 2013 20:00:12 +0000 (22:00 +0200)
This is quite helpful in debugging beaconing issues.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>

src/drivers/driver_nl80211.c

index 72564e7..16f1ff8 100644 (file)
@@ -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);