Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 115024
b: refs/heads/master
c: c74e90a
h: refs/heads/master
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Oct 15, 2008
1 parent bfe726b commit bfe9653
Show file tree
Hide file tree
Showing 2 changed files with 6 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: d5d7c584810b3be2b70c979af3283a1e48b6574d
refs/heads/master: c74e90a9e37c4a3923905189a6ebbd7ef61e6e67
6 changes: 5 additions & 1 deletion trunk/net/mac80211/debugfs_netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -545,8 +545,12 @@ static int netdev_notify(struct notifier_block *nb,

sdata = IEEE80211_DEV_TO_SUB_IF(dev);

sprintf(buf, "netdev:%s", dev->name);
dir = sdata->debugfsdir;

if (!dir)
return 0;

sprintf(buf, "netdev:%s", dev->name);
if (!debugfs_rename(dir->d_parent, dir, dir->d_parent, buf))
printk(KERN_ERR "mac80211: debugfs: failed to rename debugfs "
"dir to %s\n", buf);
Expand Down

0 comments on commit bfe9653

Please sign in to comment.