diff options
Diffstat (limited to 'drivers/net/usb/pegasus.c')
-rw-r--r-- | drivers/net/usb/pegasus.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/net/usb/pegasus.c b/drivers/net/usb/pegasus.c index 432a2f054468..d1ed68a11e70 100644 --- a/drivers/net/usb/pegasus.c +++ b/drivers/net/usb/pegasus.c | |||
@@ -1297,6 +1297,7 @@ static int pegasus_probe(struct usb_interface *intf, | |||
1297 | pegasus_t *pegasus; | 1297 | pegasus_t *pegasus; |
1298 | int dev_index = id - pegasus_ids; | 1298 | int dev_index = id - pegasus_ids; |
1299 | int res = -ENOMEM; | 1299 | int res = -ENOMEM; |
1300 | DECLARE_MAC_BUF(mac); | ||
1300 | 1301 | ||
1301 | usb_get_dev(dev); | 1302 | usb_get_dev(dev); |
1302 | net = alloc_etherdev(sizeof(struct pegasus)); | 1303 | net = alloc_etherdev(sizeof(struct pegasus)); |
@@ -1367,12 +1368,10 @@ static int pegasus_probe(struct usb_interface *intf, | |||
1367 | queue_delayed_work(pegasus_workqueue, &pegasus->carrier_check, | 1368 | queue_delayed_work(pegasus_workqueue, &pegasus->carrier_check, |
1368 | CARRIER_CHECK_DELAY); | 1369 | CARRIER_CHECK_DELAY); |
1369 | 1370 | ||
1370 | dev_info(&intf->dev, "%s, %s, %02x:%02x:%02x:%02x:%02x:%02x\n", | 1371 | dev_info(&intf->dev, "%s, %s, %s\n", |
1371 | net->name, | 1372 | net->name, |
1372 | usb_dev_id[dev_index].name, | 1373 | usb_dev_id[dev_index].name, |
1373 | net->dev_addr [0], net->dev_addr [1], | 1374 | print_mac(mac, net->dev_addr)); |
1374 | net->dev_addr [2], net->dev_addr [3], | ||
1375 | net->dev_addr [4], net->dev_addr [5]); | ||
1376 | return 0; | 1375 | return 0; |
1377 | 1376 | ||
1378 | out3: | 1377 | out3: |