summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/debug.c
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2012-04-03 09:16:55 -0700
committerJohn W. Linville <linville@tuxdriver.com>2012-04-11 16:23:54 -0400
commita5a0bca1d81b18699885bce532d2b3e0ab3b30c0 (patch)
treef76303f3853e78790788006799c8cd7b63face38 /drivers/net/wireless/ath/ath9k/debug.c
parent56dc389f76e6f8276cdc4f5e59d531b23e0f449b (diff)
downloadtalos-obmc-linux-a5a0bca1d81b18699885bce532d2b3e0ab3b30c0.tar.gz
talos-obmc-linux-a5a0bca1d81b18699885bce532d2b3e0ab3b30c0.zip
ath9k: Add tx-failed counter.
This counts any failure during getting packets into the DMA buffers, including out-of-memory, etc. Signed-off-by: Ben Greear <greearb@candelatech.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/debug.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/debug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/debug.c b/drivers/net/wireless/ath/ath9k/debug.c
index 35d1c8e91d1c..9078279fab0c 100644
--- a/drivers/net/wireless/ath/ath9k/debug.c
+++ b/drivers/net/wireless/ath/ath9k/debug.c
@@ -529,6 +529,7 @@ static ssize_t read_file_xmit(struct file *file, char __user *user_buf,
PR("hw-put-tx-buf: ", puttxbuf);
PR("hw-tx-start: ", txstart);
PR("hw-tx-proc-desc: ", txprocdesc);
+ PR("TX-Failed: ", txfailed);
len += snprintf(buf + len, size - len,
"%s%11p%11p%10p%10p\n", "txq-memory-address:",
sc->tx.txq_map[WME_AC_BE],
OpenPOWER on IntegriCloud