Browse Source

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>
Oleksij Rempel 11 years ago
parent
commit
f14c17cc5c
1 changed files with 4 additions and 1 deletions
  1. 4 1
      drivers/net/wireless/ath/ath9k/htc_drv_debug.c

+ 4 - 1
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,