ath9k_htc: use ath9k_cmn_debug_recv
authorOleksij Rempel <linux@rempel-privat.de>
Sun, 11 May 2014 08:04:38 +0000 (10:04 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 May 2014 19:56:41 +0000 (15:56 -0400)
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/htc_drv_debug.c

index a71f5f4..bc7b551 100644 (file)
@@ -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,