diff options
Diffstat (limited to 'drivers/net/wireless/orinoco.c')
-rw-r--r-- | drivers/net/wireless/orinoco.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/net/wireless/orinoco.c b/drivers/net/wireless/orinoco.c index 062286dc8e15..ca6c2da7bc5d 100644 --- a/drivers/net/wireless/orinoco.c +++ b/drivers/net/wireless/orinoco.c | |||
@@ -2232,6 +2232,7 @@ static int orinoco_init(struct net_device *dev) | |||
2232 | struct hermes_idstring nickbuf; | 2232 | struct hermes_idstring nickbuf; |
2233 | u16 reclen; | 2233 | u16 reclen; |
2234 | int len; | 2234 | int len; |
2235 | DECLARE_MAC_BUF(mac); | ||
2235 | 2236 | ||
2236 | /* No need to lock, the hw_unavailable flag is already set in | 2237 | /* No need to lock, the hw_unavailable flag is already set in |
2237 | * alloc_orinocodev() */ | 2238 | * alloc_orinocodev() */ |
@@ -2274,10 +2275,8 @@ static int orinoco_init(struct net_device *dev) | |||
2274 | goto out; | 2275 | goto out; |
2275 | } | 2276 | } |
2276 | 2277 | ||
2277 | printk(KERN_DEBUG "%s: MAC address %02X:%02X:%02X:%02X:%02X:%02X\n", | 2278 | printk(KERN_DEBUG "%s: MAC address %s\n", |
2278 | dev->name, dev->dev_addr[0], dev->dev_addr[1], | 2279 | dev->name, print_mac(mac, dev->dev_addr)); |
2279 | dev->dev_addr[2], dev->dev_addr[3], dev->dev_addr[4], | ||
2280 | dev->dev_addr[5]); | ||
2281 | 2280 | ||
2282 | /* Get the station name */ | 2281 | /* Get the station name */ |
2283 | err = hermes_read_ltv(hw, USER_BAP, HERMES_RID_CNFOWNNAME, | 2282 | err = hermes_read_ltv(hw, USER_BAP, HERMES_RID_CNFOWNNAME, |