diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2011-07-20 09:34:29 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-07-20 15:04:38 -0400 |
commit | 1d15b5f2d380186761d49588de27b2a6538afacb (patch) | |
tree | 79df19259d6f2e54e84bd772ad5bb483f986b763 /drivers/net/wireless/rtlwifi/core.c | |
parent | a401d2bb363d942245acdd81c5b5a754011696ee (diff) |
wireless: rtlwifi: throw away MAC_FMT and use %pM instead
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/core.c')
-rw-r--r-- | drivers/net/wireless/rtlwifi/core.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/rtlwifi/core.c b/drivers/net/wireless/rtlwifi/core.c index 03ce69660b26..1bdc1aa305c0 100644 --- a/drivers/net/wireless/rtlwifi/core.c +++ b/drivers/net/wireless/rtlwifi/core.c | |||
@@ -456,7 +456,7 @@ static int rtl_op_sta_add(struct ieee80211_hw *hw, | |||
456 | sta_entry->wireless_mode = WIRELESS_MODE_G; | 456 | sta_entry->wireless_mode = WIRELESS_MODE_G; |
457 | 457 | ||
458 | RT_TRACE(rtlpriv, COMP_MAC80211, DBG_DMESG, | 458 | RT_TRACE(rtlpriv, COMP_MAC80211, DBG_DMESG, |
459 | ("Add sta addr is "MAC_FMT"\n", MAC_ARG(sta->addr))); | 459 | ("Add sta addr is %pM\n", sta->addr)); |
460 | rtlpriv->cfg->ops->update_rate_tbl(hw, sta, 0); | 460 | rtlpriv->cfg->ops->update_rate_tbl(hw, sta, 0); |
461 | } | 461 | } |
462 | return 0; | 462 | return 0; |
@@ -469,7 +469,7 @@ static int rtl_op_sta_remove(struct ieee80211_hw *hw, | |||
469 | struct rtl_sta_info *sta_entry; | 469 | struct rtl_sta_info *sta_entry; |
470 | if (sta) { | 470 | if (sta) { |
471 | RT_TRACE(rtlpriv, COMP_MAC80211, DBG_DMESG, | 471 | RT_TRACE(rtlpriv, COMP_MAC80211, DBG_DMESG, |
472 | ("Remove sta addr is "MAC_FMT"\n", MAC_ARG(sta->addr))); | 472 | ("Remove sta addr is %pM\n", sta->addr)); |
473 | sta_entry = (struct rtl_sta_info *) sta->drv_priv; | 473 | sta_entry = (struct rtl_sta_info *) sta->drv_priv; |
474 | sta_entry->wireless_mode = 0; | 474 | sta_entry->wireless_mode = 0; |
475 | sta_entry->ratr_index = 0; | 475 | sta_entry->ratr_index = 0; |
@@ -678,7 +678,7 @@ static void rtl_op_bss_info_changed(struct ieee80211_hw *hw, | |||
678 | (u8 *) bss_conf->bssid); | 678 | (u8 *) bss_conf->bssid); |
679 | 679 | ||
680 | RT_TRACE(rtlpriv, COMP_MAC80211, DBG_DMESG, | 680 | RT_TRACE(rtlpriv, COMP_MAC80211, DBG_DMESG, |
681 | (MAC_FMT "\n", MAC_ARG(bss_conf->bssid))); | 681 | ("%pM\n", bss_conf->bssid)); |
682 | 682 | ||
683 | mac->vendor = PEER_UNKNOWN; | 683 | mac->vendor = PEER_UNKNOWN; |
684 | memcpy(mac->bssid, bss_conf->bssid, 6); | 684 | memcpy(mac->bssid, bss_conf->bssid, 6); |