From e334d5bd3f2f4d3ec7d9fe6cbbf109cc952d809d Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Sun, 22 Jan 2017 06:25:41 +0000 Subject: [PATCH] [athalq] print out unsigned tx timestamps. --- tools/tools/ath/athalq/ar9300_ds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/tools/ath/athalq/ar9300_ds.c b/tools/tools/ath/athalq/ar9300_ds.c index 331a29011bc0..9d9e6b2922fe 100644 --- a/tools/tools/ath/athalq/ar9300_ds.c +++ b/tools/tools/ath/athalq/ar9300_ds.c @@ -62,7 +62,7 @@ ar9300_decode_txstatus(struct if_ath_alq_payload *a) /* XXX assumes txs is smaller than PAYLOAD_LEN! */ memcpy(&txs, &a->payload, sizeof(struct ar9300_txs)); - printf("[%u.%06u] [%llu] TXSTATUS TxTimestamp=%d, DescId=0x%04x, QCU=%d\n", + printf("[%u.%06u] [%llu] TXSTATUS TxTimestamp=%u, DescId=0x%04x, QCU=%d\n", (unsigned int) be32toh(a->hdr.tstamp_sec), (unsigned int) be32toh(a->hdr.tstamp_usec), (unsigned long long) be64toh(a->hdr.threadid), @@ -77,7 +77,7 @@ ar9300_decode_txstatus(struct if_ath_alq_payload *a) MS(txs.ds_info, AR_ctrl_stat), MS(txs.ds_info, AR_desc_id)); - printf(" TxTimestamp: %d\n", txs.status4); + printf(" TxTimestamp: %u\n", txs.status4); printf(" TxDone=%d, SeqNo=%d, TxOpExceed=%d, TXBFStatus=%d\n", MF(txs.status8, AR_tx_done),