diff options
author | Ben Greear <greearb@candelatech.com> | 2010-09-22 23:29:01 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-09-27 15:57:43 -0400 |
commit | 295bafb47b0d365e1b4f747dffef29e590f13233 (patch) | |
tree | 10f1ad56c7094bacddee96de62beb77795787346 /net/mac80211/debugfs_netdev.c | |
parent | a42acef0dd3548ffda03d245d41b95250354017e (diff) |
mac80211: Support multiple VIFS per AP in debugfs.
Create 'stations' sub-directory under each netdev:[vif-name]
directory to hold all stations for that network device.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/debugfs_netdev.c')
-rw-r--r-- | net/mac80211/debugfs_netdev.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/mac80211/debugfs_netdev.c b/net/mac80211/debugfs_netdev.c index 20b2998fa0ed..3e12430591b7 100644 --- a/net/mac80211/debugfs_netdev.c +++ b/net/mac80211/debugfs_netdev.c | |||
@@ -409,6 +409,9 @@ void ieee80211_debugfs_add_netdev(struct ieee80211_sub_if_data *sdata) | |||
409 | sprintf(buf, "netdev:%s", sdata->name); | 409 | sprintf(buf, "netdev:%s", sdata->name); |
410 | sdata->debugfs.dir = debugfs_create_dir(buf, | 410 | sdata->debugfs.dir = debugfs_create_dir(buf, |
411 | sdata->local->hw.wiphy->debugfsdir); | 411 | sdata->local->hw.wiphy->debugfsdir); |
412 | if (sdata->debugfs.dir) | ||
413 | sdata->debugfs.subdir_stations = debugfs_create_dir("stations", | ||
414 | sdata->debugfs.dir); | ||
412 | add_files(sdata); | 415 | add_files(sdata); |
413 | } | 416 | } |
414 | 417 | ||