]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
nl80211: Use consistent "0x" prefix for the cookie values
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 30 Nov 2017 10:42:58 +0000 (12:42 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 30 Nov 2017 10:42:58 +0000 (12:42 +0200)
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>
src/drivers/driver_nl80211_event.c

index 14a6d92e37a33b51f69baa0080b4e4f151cc2294..1b5be97c43fdbdeb44c7208a5c46edcb3fff5cc5 100644 (file)
@@ -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);