提交 0bffe40f 编写于 作者: J Johannes Berg 提交者: John W. Linville

mac80211: don't use master netdev name

Always use the wiphy name instead.
Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 5eae6592
...@@ -1122,8 +1122,8 @@ static int ieee80211_set_txq_params(struct wiphy *wiphy, ...@@ -1122,8 +1122,8 @@ static int ieee80211_set_txq_params(struct wiphy *wiphy,
p.txop = params->txop; p.txop = params->txop;
if (drv_conf_tx(local, params->queue, &p)) { if (drv_conf_tx(local, params->queue, &p)) {
printk(KERN_DEBUG "%s: failed to set TX queue " printk(KERN_DEBUG "%s: failed to set TX queue "
"parameters for queue %d\n", local->mdev->name, "parameters for queue %d\n",
params->queue); wiphy_name(local->hw.wiphy), params->queue);
return -EINVAL; return -EINVAL;
} }
......
...@@ -793,13 +793,13 @@ static void ieee80211_sta_wmm_params(struct ieee80211_local *local, ...@@ -793,13 +793,13 @@ static void ieee80211_sta_wmm_params(struct ieee80211_local *local,
#ifdef CONFIG_MAC80211_VERBOSE_DEBUG #ifdef CONFIG_MAC80211_VERBOSE_DEBUG
printk(KERN_DEBUG "%s: WMM queue=%d aci=%d acm=%d aifs=%d " printk(KERN_DEBUG "%s: WMM queue=%d aci=%d acm=%d aifs=%d "
"cWmin=%d cWmax=%d txop=%d\n", "cWmin=%d cWmax=%d txop=%d\n",
local->mdev->name, queue, aci, acm, params.aifs, params.cw_min, wiphy_name(local->hw.wiphy), queue, aci, acm,
params.cw_max, params.txop); params.aifs, params.cw_min, params.cw_max, params.txop);
#endif #endif
if (drv_conf_tx(local, queue, &params) && local->ops->conf_tx) if (drv_conf_tx(local, queue, &params) && local->ops->conf_tx)
printk(KERN_DEBUG "%s: failed to set TX queue " printk(KERN_DEBUG "%s: failed to set TX queue "
"parameters for queue %d\n", local->mdev->name, "parameters for queue %d\n",
queue); wiphy_name(local->hw.wiphy), queue);
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册