Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 90597
b: refs/heads/master
c: d9c58f3
h: refs/heads/master
i:
  90595: c11e21d
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Apr 8, 2008
1 parent a12ab4b commit 2158d2f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cfcdf40e52bdaa7622a9d1de62e5451d3427a5c6
refs/heads/master: d9c58f30b08bfe1e689537af5bc855a76d0fae25
3 changes: 2 additions & 1 deletion trunk/net/mac80211/debugfs_key.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ void ieee80211_debugfs_key_add(struct ieee80211_key *key)
return;

sprintf(buf, "%d", keycount);
key->debugfs.cnt = keycount;
keycount++;
key->debugfs.dir = debugfs_create_dir(buf,
key->local->debugfs.keys);
Expand Down Expand Up @@ -258,7 +259,7 @@ void ieee80211_debugfs_key_add_default(struct ieee80211_sub_if_data *sdata)
if (!sdata->debugfsdir)
return;

sprintf(buf, "../keys/%d", sdata->default_key->conf.keyidx);
sprintf(buf, "../keys/%d", sdata->default_key->debugfs.cnt);
sdata->debugfs.default_key =
debugfs_create_symlink("default_key", sdata->debugfsdir, buf);
}
Expand Down
1 change: 1 addition & 0 deletions trunk/net/mac80211/key.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ struct ieee80211_key {
struct dentry *replays;
struct dentry *key;
struct dentry *ifindex;
int cnt;
} debugfs;
#endif

Expand Down

0 comments on commit 2158d2f

Please sign in to comment.