diff options
Diffstat (limited to 'drivers/net/wireless/rtl8187_dev.c')
-rw-r--r-- | drivers/net/wireless/rtl8187_dev.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/rtl8187_dev.c b/drivers/net/wireless/rtl8187_dev.c index 7dbf11e30db3..bf9f0cc5a645 100644 --- a/drivers/net/wireless/rtl8187_dev.c +++ b/drivers/net/wireless/rtl8187_dev.c | |||
@@ -574,6 +574,7 @@ static int __devinit rtl8187_probe(struct usb_interface *intf, | |||
574 | struct ieee80211_channel *channel; | 574 | struct ieee80211_channel *channel; |
575 | u16 txpwr, reg; | 575 | u16 txpwr, reg; |
576 | int err, i; | 576 | int err, i; |
577 | DECLARE_MAC_BUF(mac); | ||
577 | 578 | ||
578 | dev = ieee80211_alloc_hw(sizeof(*priv), &rtl8187_ops); | 579 | dev = ieee80211_alloc_hw(sizeof(*priv), &rtl8187_ops); |
579 | if (!dev) { | 580 | if (!dev) { |
@@ -681,8 +682,8 @@ static int __devinit rtl8187_probe(struct usb_interface *intf, | |||
681 | goto err_free_dev; | 682 | goto err_free_dev; |
682 | } | 683 | } |
683 | 684 | ||
684 | printk(KERN_INFO "%s: hwaddr " MAC_FMT ", rtl8187 V%d + %s\n", | 685 | printk(KERN_INFO "%s: hwaddr %s, rtl8187 V%d + %s\n", |
685 | wiphy_name(dev->wiphy), MAC_ARG(dev->wiphy->perm_addr), | 686 | wiphy_name(dev->wiphy), print_mac(mac, dev->wiphy->perm_addr), |
686 | priv->asic_rev, priv->rf_init == rtl8225_rf_init ? | 687 | priv->asic_rev, priv->rf_init == rtl8225_rf_init ? |
687 | "rtl8225" : "rtl8225z2"); | 688 | "rtl8225" : "rtl8225z2"); |
688 | 689 | ||