diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2007-09-18 17:29:20 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:52:32 -0400 |
commit | dd1cd4c620c174ebbdf78dc01b924115a06de5d3 (patch) | |
tree | a04517b9ee2ede228ec4a8ab96099460060c4245 /net/mac80211/sta_info.c | |
parent | 9c7d7728baf79c63ae58df95fb39ea13db487599 (diff) |
[MAC80211]: print out wiphy name instead of master device
This makes mac80211 print out the wiphy name instead of the
master device name where appropriate.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Michael Wu <flamingice@sourmilk.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/sta_info.c')
-rw-r--r-- | net/mac80211/sta_info.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/sta_info.c b/net/mac80211/sta_info.c index 44d983404952..7c7df87f673c 100644 --- a/net/mac80211/sta_info.c +++ b/net/mac80211/sta_info.c | |||
@@ -166,7 +166,7 @@ struct sta_info * sta_info_add(struct ieee80211_local *local, | |||
166 | 166 | ||
167 | #ifdef CONFIG_MAC80211_VERBOSE_DEBUG | 167 | #ifdef CONFIG_MAC80211_VERBOSE_DEBUG |
168 | printk(KERN_DEBUG "%s: Added STA %s\n", | 168 | printk(KERN_DEBUG "%s: Added STA %s\n", |
169 | local->mdev->name, print_mac(mac, addr)); | 169 | wiphy_name(local->hw.wiphy), print_mac(mac, addr)); |
170 | #endif /* CONFIG_MAC80211_VERBOSE_DEBUG */ | 170 | #endif /* CONFIG_MAC80211_VERBOSE_DEBUG */ |
171 | 171 | ||
172 | #ifdef CONFIG_MAC80211_DEBUGFS | 172 | #ifdef CONFIG_MAC80211_DEBUGFS |
@@ -226,7 +226,7 @@ void sta_info_free(struct sta_info *sta) | |||
226 | 226 | ||
227 | #ifdef CONFIG_MAC80211_VERBOSE_DEBUG | 227 | #ifdef CONFIG_MAC80211_VERBOSE_DEBUG |
228 | printk(KERN_DEBUG "%s: Removed STA %s\n", | 228 | printk(KERN_DEBUG "%s: Removed STA %s\n", |
229 | local->mdev->name, print_mac(mac, sta->addr)); | 229 | wiphy_name(local->hw.wiphy), print_mac(mac, sta->addr)); |
230 | #endif /* CONFIG_MAC80211_VERBOSE_DEBUG */ | 230 | #endif /* CONFIG_MAC80211_VERBOSE_DEBUG */ |
231 | 231 | ||
232 | ieee80211_key_free(sta->key); | 232 | ieee80211_key_free(sta->key); |