a43c59fbee
brcmsmac: fix tx queue flush infinite loop mac80211: Use the right headroom size for mesh mgmt frames mac80211: fix work removal on deauth request b43: add option to avoid duplicating device support with brcmsmac mac80211: update oper_channel on ibss join mac80211: set bss_conf.idle when vif is connected iwlwifi: fix PCI-E transport "inta" race
44 lines
1.3 KiB
Diff
44 lines
1.3 KiB
Diff
From 9446f3efc53512e5ad9e0966539021a2a41fe5a0 Mon Sep 17 00:00:00 2001
|
|
From: Johannes Berg <johannes.berg@intel.com>
|
|
Date: Tue, 17 Jan 2012 10:32:01 +0100
|
|
Subject: [PATCH 1/8] mac80211: fix debugfs key->station symlink
|
|
|
|
Since stations moved into a virtual interface
|
|
subdirectory, this link has been broken. Fix it.
|
|
|
|
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
|
|
Signed-off-by: John W. Linville <linville@tuxdriver.com>
|
|
---
|
|
net/mac80211/debugfs_key.c | 7 ++++---
|
|
1 files changed, 4 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/net/mac80211/debugfs_key.c b/net/mac80211/debugfs_key.c
|
|
index 38e6101..59edcd9 100644
|
|
--- a/net/mac80211/debugfs_key.c
|
|
+++ b/net/mac80211/debugfs_key.c
|
|
@@ -225,9 +225,9 @@ KEY_OPS(key);
|
|
key, &key_##name##_ops);
|
|
|
|
void ieee80211_debugfs_key_add(struct ieee80211_key *key)
|
|
- {
|
|
+{
|
|
static int keycount;
|
|
- char buf[50];
|
|
+ char buf[100];
|
|
struct sta_info *sta;
|
|
|
|
if (!key->local->debugfs.keys)
|
|
@@ -244,7 +244,8 @@ void ieee80211_debugfs_key_add(struct ieee80211_key *key)
|
|
|
|
sta = key->sta;
|
|
if (sta) {
|
|
- sprintf(buf, "../../stations/%pM", sta->sta.addr);
|
|
+ sprintf(buf, "../../netdev:%s/stations/%pM",
|
|
+ sta->sdata->name, sta->sta.addr);
|
|
key->debugfs.stalink =
|
|
debugfs_create_symlink("station", key->debugfs.dir, buf);
|
|
}
|
|
--
|
|
1.7.4.4
|
|
|