[MAC80211]: add interface index to key debugfs
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 28 Aug 2007 21:01:55 +0000 (17:01 -0400)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:48:54 +0000 (16:48 -0700)
commite7a64f12a452d39ab50e5580e93bc48b3b15f30c
tree048a398ce157b7319e039d1fb0a6d45a99f295b0
parent11a843b7e16062389c53ba393c7913956e034eb2
[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>
net/mac80211/debugfs_key.c
net/mac80211/ieee80211_key.h