summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleksij Rempel <linux@rempel-privat.de>2014-05-11 10:04:38 +0200
committerJohn W. Linville <linville@tuxdriver.com>2014-05-13 15:56:41 -0400
commitf14c17cc5c17fd423b7cdc5c05f7e71bbb6b576c (patch)
treec9e144359c4109f5a1d2c2f45c74e8b7f8452ce8
parent87ea9b0b3ce1200ef5900e561ffdfea9702af9cd (diff)
downloadblackbird-op-linux-f14c17cc5c17fd423b7cdc5c05f7e71bbb6b576c.tar.gz
blackbird-op-linux-f14c17cc5c17fd423b7cdc5c05f7e71bbb6b576c.zip
ath9k_htc: use ath9k_cmn_debug_recv
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/ath/ath9k/htc_drv_debug.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_debug.c b/drivers/net/wireless/ath/ath9k/htc_drv_debug.c
index a71f5f48038a..bc7b551b9344 100644
--- a/drivers/net/wireless/ath/ath9k/htc_drv_debug.c
+++ b/drivers/net/wireless/ath/ath9k/htc_drv_debug.c
@@ -542,8 +542,11 @@ int ath9k_htc_init_debug(struct ath_hw *ah)
priv, &fops_tgt_rx_stats);
debugfs_create_file("xmit", S_IRUSR, priv->debug.debugfs_phy,
priv, &fops_xmit);
- debugfs_create_file("recv", S_IRUSR, priv->debug.debugfs_phy,
+ debugfs_create_file("phy_err", S_IRUSR, priv->debug.debugfs_phy,
priv, &fops_recv);
+
+ ath9k_cmn_debug_recv(priv->debug.debugfs_phy, &priv->debug.rx_stats);
+
debugfs_create_file("slot", S_IRUSR, priv->debug.debugfs_phy,
priv, &fops_slot);
debugfs_create_file("queue", S_IRUSR, priv->debug.debugfs_phy,
OpenPOWER on IntegriCloud