]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
nl80211: Add debug print for cancel-frame-wait command
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 28 Feb 2013 20:09:32 +0000 (22:09 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 28 Feb 2013 20:09:32 +0000 (22:09 +0200)
This makes it easier to interpret the logs for offloaded TX frame
operations.

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

src/drivers/driver_nl80211.c

index 2903881e3af1af31a94bcf9f208939f78ebd26c5..a10ab3b6e31864ad84b88c9a9d1006693af03874 100644 (file)
@@ -8438,6 +8438,8 @@ static void wpa_driver_nl80211_send_action_cancel_wait(void *priv)
        if (!msg)
                return;
 
+       wpa_printf(MSG_DEBUG, "nl80211: Cancel TX frame wait: cookie=0x%llx",
+                  (long long unsigned int) drv->send_action_cookie);
        nl80211_cmd(drv, msg, 0, NL80211_CMD_FRAME_WAIT_CANCEL);
 
        NLA_PUT_U32(msg, NL80211_ATTR_IFINDEX, drv->ifindex);