nl80211: show TX status (ack) in debug log

This commit is contained in:
Jouni Malinen 2010-07-17 20:17:43 -07:00
parent e9501a07c6
commit 4796272f5f

View file

@ -688,10 +688,11 @@ static void mlme_event_action_tx_status(struct wpa_driver_nl80211_data *drv,
return; return;
cookie_val = nla_get_u64(cookie); 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, (long long unsigned int) cookie_val,
cookie_val == drv->send_action_cookie ? cookie_val == drv->send_action_cookie ?
" (match)" : " (unknown)"); " (match)" : " (unknown)", ack != NULL);
if (cookie_val != drv->send_action_cookie) if (cookie_val != drv->send_action_cookie)
return; return;