aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2013-03-08 08:46:14 -0500
committerJohannes Berg <johannes.berg@intel.com>2013-03-18 15:10:04 -0400
commitddbfe860acc39d4856a86186eb8a292426ea6224 (patch)
tree56eac0dd8c6cc075472b850dc62e9d5b56345f65 /net/mac80211/ieee80211_i.h
parent488b366a452934141959384c7a1b52b22d6154ef (diff)
mac80211: move sdata debugfs dir to vif
There is need create driver own per interface debugfs files. This is currently done by drv_{add,remove}_interface_debugfs() callbacks. But it is possible that after we remove interface from the driver (i.e. on suspend) we call drv_remove_interface_debugfs() function. Fixing this problem will require to add call drv_{add,remove}_interface_debugfs() anytime we create and remove interface in mac80211. So it's better to add debugfs dir dentry to vif structure to allow to create/remove custom debugfs driver files on drv_{add,remove}_interface(). Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r--net/mac80211/ieee80211_i.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index 95beb18588f6..d6e920609823 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -758,7 +758,6 @@ struct ieee80211_sub_if_data {
758 758
759#ifdef CONFIG_MAC80211_DEBUGFS 759#ifdef CONFIG_MAC80211_DEBUGFS
760 struct { 760 struct {
761 struct dentry *dir;
762 struct dentry *subdir_stations; 761 struct dentry *subdir_stations;
763 struct dentry *default_unicast_key; 762 struct dentry *default_unicast_key;
764 struct dentry *default_multicast_key; 763 struct dentry *default_multicast_key;