summaryrefslogtreecommitdiff
path: root/net/mac80211/cfg.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-06-09 16:18:32 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-06-10 13:28:39 -0400
commit0bffe40f21e2ddc5215b1faec4e8dbbc215e7d4d (patch)
tree48d1de44f8f8aa155713ff38f038ec35326d27bf /net/mac80211/cfg.c
parent5eae6592e9bdc989151171828ee97e0ad9e1b1ac (diff)
downloadlwn-0bffe40f21e2ddc5215b1faec4e8dbbc215e7d4d.tar.gz
lwn-0bffe40f21e2ddc5215b1faec4e8dbbc215e7d4d.zip
mac80211: don't use master netdev name
Always use the wiphy name instead. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r--net/mac80211/cfg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index a9211cc183cb..3f47276caeb8 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -1122,8 +1122,8 @@ static int ieee80211_set_txq_params(struct wiphy *wiphy,
p.txop = params->txop;
if (drv_conf_tx(local, params->queue, &p)) {
printk(KERN_DEBUG "%s: failed to set TX queue "
- "parameters for queue %d\n", local->mdev->name,
- params->queue);
+ "parameters for queue %d\n",
+ wiphy_name(local->hw.wiphy), params->queue);
return -EINVAL;
}