Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 66362
b: refs/heads/master
c: e7a64f1
h: refs/heads/master
v: v3
  • Loading branch information
Johannes Berg authored and David S. Miller committed Oct 10, 2007
1 parent 8986feb commit be74a61
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 11a843b7e16062389c53ba393c7913956e034eb2
refs/heads/master: e7a64f12a452d39ab50e5580e93bc48b3b15f30c
4 changes: 4 additions & 0 deletions trunk/net/mac80211/debugfs_key.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ KEY_CONF_FILE(keyidx, D);
KEY_CONF_FILE(hw_key_idx, D);
KEY_FILE(flags, X);
KEY_FILE(tx_rx_count, D);
KEY_READ(ifindex, sdata->dev->ifindex, 20, "%d\n");
KEY_OPS(ifindex);

static ssize_t key_algorithm_read(struct file *file,
char __user *userbuf,
Expand Down Expand Up @@ -209,6 +211,7 @@ void ieee80211_debugfs_key_add(struct ieee80211_local *local,
DEBUGFS_ADD(rx_spec);
DEBUGFS_ADD(replays);
DEBUGFS_ADD(key);
DEBUGFS_ADD(ifindex);
};

#define DEBUGFS_DEL(name) \
Expand All @@ -229,6 +232,7 @@ void ieee80211_debugfs_key_remove(struct ieee80211_key *key)
DEBUGFS_DEL(rx_spec);
DEBUGFS_DEL(replays);
DEBUGFS_DEL(key);
DEBUGFS_DEL(ifindex);

debugfs_remove(key->debugfs.stalink);
key->debugfs.stalink = NULL;
Expand Down
1 change: 1 addition & 0 deletions trunk/net/mac80211/ieee80211_key.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ struct ieee80211_key {
struct dentry *rx_spec;
struct dentry *replays;
struct dentry *key;
struct dentry *ifindex;
} debugfs;
#endif

Expand Down

0 comments on commit be74a61

Please sign in to comment.