From: Jouni Malinen Date: Thu, 30 Nov 2017 10:42:58 +0000 (+0200) Subject: nl80211: Use consistent "0x" prefix for the cookie values X-Git-Tag: hostap_2_7~754 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e19300d5bc3208160cb8082362df6fac967291d;p=thirdparty%2Fhostap.git 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 --- diff --git a/src/drivers/driver_nl80211_event.c b/src/drivers/driver_nl80211_event.c index 14a6d92e3..1b5be97c4 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);