aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/htc_drv_main.c
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2010-04-16 02:24:00 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-04-16 15:47:11 -0400
commiteac8e385e9446e591aacbc9ef2c2a3b0836dd2d4 (patch)
tree5484400ffd79db6811cedd2b779b0d69ede2a238 /drivers/net/wireless/ath/ath9k/htc_drv_main.c
parent0daa3e3a7d85d70cdd4d9cc8e589e79a4a37a5ef (diff)
ath9k_htc: Add dropped SKB count to debugfs
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/htc_drv_main.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/htc_drv_main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_main.c b/drivers/net/wireless/ath/ath9k/htc_drv_main.c
index 2cea577f884..081f4450428 100644
--- a/drivers/net/wireless/ath/ath9k/htc_drv_main.c
+++ b/drivers/net/wireless/ath/ath9k/htc_drv_main.c
@@ -609,6 +609,9 @@ static ssize_t read_file_xmit(struct file *file, char __user *user_buf,
609 len += snprintf(buf + len, sizeof(buf) - len, 609 len += snprintf(buf + len, sizeof(buf) - len,
610 "%20s : %10u\n", "SKBs completed", 610 "%20s : %10u\n", "SKBs completed",
611 priv->debug.tx_stats.skb_completed); 611 priv->debug.tx_stats.skb_completed);
612 len += snprintf(buf + len, sizeof(buf) - len,
613 "%20s : %10u\n", "SKBs dropped",
614 priv->debug.tx_stats.skb_dropped);
612 615
613 return simple_read_from_buffer(user_buf, count, ppos, buf, len); 616 return simple_read_from_buffer(user_buf, count, ppos, buf, len);
614} 617}