aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2017-11-30 10:42:58 (GMT)
committerJouni Malinen <j@w1.fi>2017-11-30 10:42:58 (GMT)
commit0e19300d5bc3208160cb8082362df6fac967291d (patch)
tree8995d633bce8cdfe9d13e90afe43c51f1502eb1b
parentfa5c907495143bf19229f87b63e9da2686d007b8 (diff)
downloadhostap-0e19300d5bc3208160cb8082362df6fac967291d.zip
hostap-0e19300d5bc3208160cb8082362df6fac967291d.tar.gz
hostap-0e19300d5bc3208160cb8082362df6fac967291d.tar.bz2
nl80211: Use consistent "0x" prefix for the cookie values
One of the event message for TX status was missing 'x' from the "0x" prefix. Add that to make the used format consistent for all cookie debug print cases. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
-rw-r--r--src/drivers/driver_nl80211_event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/driver_nl80211_event.c b/src/drivers/driver_nl80211_event.c
index 14a6d92..1b5be97 100644
--- a/src/drivers/driver_nl80211_event.c
+++ b/src/drivers/driver_nl80211_event.c
@@ -673,7 +673,7 @@ static void mlme_event_mgmt_tx_status(struct wpa_driver_nl80211_data *drv,
cookie_val = nla_get_u64(cookie);
wpa_printf(MSG_DEBUG, "nl80211: Action TX status:"
- " cookie=0%llx%s (ack=%d)",
+ " cookie=0x%llx%s (ack=%d)",
(long long unsigned int) cookie_val,
cookie_val == drv->send_action_cookie ?
" (match)" : " (unknown)", ack != NULL);