diff options
Diffstat (limited to 'net/mac80211/debugfs.c')
-rw-r--r-- | net/mac80211/debugfs.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net/mac80211/debugfs.c b/net/mac80211/debugfs.c index b8b0ae79a743..18260aa99c56 100644 --- a/net/mac80211/debugfs.c +++ b/net/mac80211/debugfs.c | |||
@@ -86,13 +86,15 @@ static ssize_t tsf_write(struct file *file, | |||
86 | if (strncmp(buf, "reset", 5) == 0) { | 86 | if (strncmp(buf, "reset", 5) == 0) { |
87 | if (local->ops->reset_tsf) { | 87 | if (local->ops->reset_tsf) { |
88 | drv_reset_tsf(local); | 88 | drv_reset_tsf(local); |
89 | printk(KERN_INFO "%s: debugfs reset TSF\n", wiphy_name(local->hw.wiphy)); | 89 | wiphy_info(local->hw.wiphy, "debugfs reset TSF\n"); |
90 | } | 90 | } |
91 | } else { | 91 | } else { |
92 | tsf = simple_strtoul(buf, NULL, 0); | 92 | tsf = simple_strtoul(buf, NULL, 0); |
93 | if (local->ops->set_tsf) { | 93 | if (local->ops->set_tsf) { |
94 | drv_set_tsf(local, tsf); | 94 | drv_set_tsf(local, tsf); |
95 | printk(KERN_INFO "%s: debugfs set TSF to %#018llx\n", wiphy_name(local->hw.wiphy), tsf); | 95 | wiphy_info(local->hw.wiphy, |
96 | "debugfs set TSF to %#018llx\n", tsf); | ||
97 | |||
96 | } | 98 | } |
97 | } | 99 | } |
98 | 100 | ||
@@ -375,7 +377,6 @@ void debugfs_hw_add(struct ieee80211_local *local) | |||
375 | if (!phyd) | 377 | if (!phyd) |
376 | return; | 378 | return; |
377 | 379 | ||
378 | local->debugfs.stations = debugfs_create_dir("stations", phyd); | ||
379 | local->debugfs.keys = debugfs_create_dir("keys", phyd); | 380 | local->debugfs.keys = debugfs_create_dir("keys", phyd); |
380 | 381 | ||
381 | DEBUGFS_ADD(frequency); | 382 | DEBUGFS_ADD(frequency); |