diff options
Diffstat (limited to 'drivers/net/wireless/atmel.c')
-rw-r--r-- | drivers/net/wireless/atmel.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/net/wireless/atmel.c b/drivers/net/wireless/atmel.c index 47dbdf95ea6f..059ce3f07dba 100644 --- a/drivers/net/wireless/atmel.c +++ b/drivers/net/wireless/atmel.c | |||
@@ -1484,6 +1484,7 @@ struct net_device *init_atmel_card(unsigned short irq, unsigned long port, | |||
1484 | struct net_device *dev; | 1484 | struct net_device *dev; |
1485 | struct atmel_private *priv; | 1485 | struct atmel_private *priv; |
1486 | int rc; | 1486 | int rc; |
1487 | DECLARE_MAC_BUF(mac); | ||
1487 | 1488 | ||
1488 | /* Create the network device object. */ | 1489 | /* Create the network device object. */ |
1489 | dev = alloc_etherdev(sizeof(*priv)); | 1490 | dev = alloc_etherdev(sizeof(*priv)); |
@@ -1598,10 +1599,8 @@ struct net_device *init_atmel_card(unsigned short irq, unsigned long port, | |||
1598 | if (!ent) | 1599 | if (!ent) |
1599 | printk(KERN_WARNING "atmel: unable to create /proc entry.\n"); | 1600 | printk(KERN_WARNING "atmel: unable to create /proc entry.\n"); |
1600 | 1601 | ||
1601 | printk(KERN_INFO "%s: Atmel at76c50x. Version %d.%d. MAC %.2x:%.2x:%.2x:%.2x:%.2x:%.2x\n", | 1602 | printk(KERN_INFO "%s: Atmel at76c50x. Version %d.%d. MAC %s\n", |
1602 | dev->name, DRIVER_MAJOR, DRIVER_MINOR, | 1603 | dev->name, DRIVER_MAJOR, DRIVER_MINOR, print_mac(mac, dev->dev_addr)); |
1603 | dev->dev_addr[0], dev->dev_addr[1], dev->dev_addr[2], | ||
1604 | dev->dev_addr[3], dev->dev_addr[4], dev->dev_addr[5] ); | ||
1605 | 1604 | ||
1606 | return dev; | 1605 | return dev; |
1607 | 1606 | ||