[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>
This commit is contained in:
committed by
David S. Miller
parent
9c7d7728ba
commit
dd1cd4c620
@@ -166,7 +166,7 @@ struct sta_info * sta_info_add(struct ieee80211_local *local,
|
||||
|
||||
#ifdef CONFIG_MAC80211_VERBOSE_DEBUG
|
||||
printk(KERN_DEBUG "%s: Added STA %s\n",
|
||||
local->mdev->name, print_mac(mac, addr));
|
||||
wiphy_name(local->hw.wiphy), print_mac(mac, addr));
|
||||
#endif /* CONFIG_MAC80211_VERBOSE_DEBUG */
|
||||
|
||||
#ifdef CONFIG_MAC80211_DEBUGFS
|
||||
@@ -226,7 +226,7 @@ void sta_info_free(struct sta_info *sta)
|
||||
|
||||
#ifdef CONFIG_MAC80211_VERBOSE_DEBUG
|
||||
printk(KERN_DEBUG "%s: Removed STA %s\n",
|
||||
local->mdev->name, print_mac(mac, sta->addr));
|
||||
wiphy_name(local->hw.wiphy), print_mac(mac, sta->addr));
|
||||
#endif /* CONFIG_MAC80211_VERBOSE_DEBUG */
|
||||
|
||||
ieee80211_key_free(sta->key);
|
||||
|
Reference in New Issue
Block a user