aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_key.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-08-28 17:01:55 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 16:48:54 -0700
commite7a64f12a452d39ab50e5580e93bc48b3b15f30c (patch)
tree048a398ce157b7319e039d1fb0a6d45a99f295b0 /net/mac80211/ieee80211_key.h
parent[MAC80211]: rework key handling (diff)
downloadlinux-dev-e7a64f12a452d39ab50e5580e93bc48b3b15f30c.tar.xz
linux-dev-e7a64f12a452d39ab50e5580e93bc48b3b15f30c.zip
[MAC80211]: add interface index to key debugfs
Add a new file 'ifindex' to each key's debugfs dir to allow finding which interface the key was configured on. This isn't done as a symlink because of possible netdev name changes. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Acked-by: Michael Wu <flamingice@sourmilk.net> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--net/mac80211/ieee80211_key.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_key.h b/net/mac80211/ieee80211_key.h
index a4e5fbbe045c..ae49418f18b4 100644
--- a/net/mac80211/ieee80211_key.h
+++ b/net/mac80211/ieee80211_key.h
@@ -101,6 +101,7 @@ struct ieee80211_key {
struct dentry *rx_spec;
struct dentry *replays;
struct dentry *key;
+ struct dentry *ifindex;
} debugfs;
#endif