aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/adm8211.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2007-10-03 20:59:30 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:51:42 -0400
commit0795af5729b18218767fab27c44b1384f72dc9ad (patch)
tree67c16df84aa6ec219340b8ea1b5cfb0e8150a216 /drivers/net/wireless/adm8211.c
parent95ea36275f3c9a1d3d04c217b4b576c657c4e70e (diff)
[NET]: Introduce and use print_mac() and DECLARE_MAC_BUF()
This is nicer than the MAC_FMT stuff. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/adm8211.c')
-rw-r--r--drivers/net/wireless/adm8211.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/adm8211.c b/drivers/net/wireless/adm8211.c
index eec01fc15282..ac2ea237019d 100644
--- a/drivers/net/wireless/adm8211.c
+++ b/drivers/net/wireless/adm8211.c
@@ -1787,6 +1787,7 @@ static int __devinit adm8211_probe(struct pci_dev *pdev,
1787 int err; 1787 int err;
1788 u32 reg; 1788 u32 reg;
1789 u8 perm_addr[ETH_ALEN]; 1789 u8 perm_addr[ETH_ALEN];
1790 DECLARE_MAC_BUF(mac);
1790 1791
1791#ifndef MODULE 1792#ifndef MODULE
1792 static unsigned int cardidx; 1793 static unsigned int cardidx;
@@ -1938,8 +1939,8 @@ static int __devinit adm8211_probe(struct pci_dev *pdev,
1938 goto err_free_desc; 1939 goto err_free_desc;
1939 } 1940 }
1940 1941
1941 printk(KERN_INFO "%s: hwaddr " MAC_FMT ", Rev 0x%02x\n", 1942 printk(KERN_INFO "%s: hwaddr %s, Rev 0x%02x\n",
1942 wiphy_name(dev->wiphy), MAC_ARG(dev->wiphy->perm_addr), 1943 wiphy_name(dev->wiphy), print_mac(mac, dev->wiphy->perm_addr),
1943 priv->revid); 1944 priv->revid);
1944 1945
1945 return 0; 1946 return 0;