]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
nl80211: show TX status (ack) in debug log
authorJouni Malinen <j@w1.fi>
Sun, 18 Jul 2010 03:17:43 +0000 (20:17 -0700)
committerJouni Malinen <j@w1.fi>
Sun, 18 Jul 2010 03:17:43 +0000 (20:17 -0700)
src/drivers/driver_nl80211.c

index 39c1d2d1cf8df93e90da4725d6ec68785ee8bf18..9c02f7d9a16b2733b0ecd724a219183f46b1a7db 100644 (file)
@@ -688,10 +688,11 @@ static void mlme_event_action_tx_status(struct wpa_driver_nl80211_data *drv,
                return;
 
        cookie_val = nla_get_u64(cookie);
-       wpa_printf(MSG_DEBUG, "nl80211: Action TX status: cookie=0%llx%s",
+       wpa_printf(MSG_DEBUG, "nl80211: Action TX status: cookie=0%llx%s "
+                  "(ack=%d)",
                   (long long unsigned int) cookie_val,
                   cookie_val == drv->send_action_cookie ?
-                  " (match)" : " (unknown)");
+                  " (match)" : " (unknown)", ack != NULL);
        if (cookie_val != drv->send_action_cookie)
                return;