diff options
author | Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com> | 2011-08-26 03:36:31 -0400 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2011-08-31 03:10:54 -0400 |
commit | d999ba3e21dc1c84cac9caf68db78fd6dbde7817 (patch) | |
tree | c9daba2224a398b8c5366c5f838b81b485d0b6bb /drivers/net/wireless/ath/ath6kl/debug.c | |
parent | f7a7e7ae5db1d436805de7fe19c51b5b2657c63e (diff) |
ath6kl: Add initial debugfs changes
Just initial debugfs changes. The debugfs directory would
be created at <debugfs_root>/ieee80211/phyX/ath6kl.
Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/debug.c')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/debug.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/debug.c b/drivers/net/wireless/ath/ath6kl/debug.c index 316136c8b903..12775e80a0f4 100644 --- a/drivers/net/wireless/ath/ath6kl/debug.c +++ b/drivers/net/wireless/ath/ath6kl/debug.c | |||
@@ -147,4 +147,14 @@ void dump_cred_dist_stats(struct htc_target *target) | |||
147 | target->cred_dist_cntxt->cur_free_credits); | 147 | target->cred_dist_cntxt->cur_free_credits); |
148 | } | 148 | } |
149 | 149 | ||
150 | int ath6kl_debug_init(struct ath6kl *ar) | ||
151 | { | ||
152 | ar->debugfs_phy = debugfs_create_dir("ath6kl", | ||
153 | ar->wdev->wiphy->debugfsdir); | ||
154 | if (!ar->debugfs_phy) | ||
155 | return -ENOMEM; | ||
156 | |||
157 | /* TODO: Create debugfs file entries for various target/host stats */ | ||
158 | return 0; | ||
159 | } | ||
150 | #endif | 160 | #endif |