Skip to content

Commit

Permalink
mac80211_hwsim: fix-up some print_mac merge damage
Browse files Browse the repository at this point in the history
Some print_mac -> %pM conversions got lost in some merge or another...

Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
John W. Linville committed Nov 26, 2008
1 parent 860c6e6 commit b235507
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions drivers/net/wireless/mac80211_hwsim.c
Original file line number Diff line number Diff line change
Expand Up @@ -452,9 +452,9 @@ static int mac80211_hwsim_config_interface(struct ieee80211_hw *hw,
hwsim_check_magic(vif);
if (conf->changed & IEEE80211_IFCC_BSSID) {
DECLARE_MAC_BUF(mac);
printk(KERN_DEBUG "%s:%s: BSSID changed: %s\n",
printk(KERN_DEBUG "%s:%s: BSSID changed: %pM\n",
wiphy_name(hw->wiphy), __func__,
print_mac(mac, conf->bssid));
conf->bssid);
memcpy(vp->bssid, conf->bssid, ETH_ALEN);
}
return 0;
Expand Down Expand Up @@ -612,9 +612,8 @@ static void hwsim_send_ps_poll(void *dat, u8 *mac, struct ieee80211_vif *vif)
if (!vp->assoc)
return;

printk(KERN_DEBUG "%s:%s: send PS-Poll to %s for aid %d\n",
wiphy_name(data->hw->wiphy), __func__,
print_mac(buf, vp->bssid), vp->aid);
printk(KERN_DEBUG "%s:%s: send PS-Poll to %pM for aid %d\n",
wiphy_name(data->hw->wiphy), __func__, vp->bssid, vp->aid);

skb = dev_alloc_skb(sizeof(*pspoll));
if (!skb)
Expand Down Expand Up @@ -644,9 +643,8 @@ static void hwsim_send_nullfunc(struct mac80211_hwsim_data *data, u8 *mac,
if (!vp->assoc)
return;

printk(KERN_DEBUG "%s:%s: send data::nullfunc to %s ps=%d\n",
wiphy_name(data->hw->wiphy), __func__,
print_mac(buf, vp->bssid), ps);
printk(KERN_DEBUG "%s:%s: send data::nullfunc to %pM ps=%d\n",
wiphy_name(data->hw->wiphy), __func__, vp->bssid, ps);

skb = dev_alloc_skb(sizeof(*hdr));
if (!skb)
Expand Down

0 comments on commit b235507

Please sign in to comment.