diff options
Diffstat (limited to 'drivers/net/usb/usbnet.c')
-rw-r--r-- | drivers/net/usb/usbnet.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/net/usb/usbnet.c b/drivers/net/usb/usbnet.c index 3542ca5fb0fa..acd5f1c0e63a 100644 --- a/drivers/net/usb/usbnet.c +++ b/drivers/net/usb/usbnet.c | |||
@@ -1134,6 +1134,7 @@ usbnet_probe (struct usb_interface *udev, const struct usb_device_id *prod) | |||
1134 | struct usb_device *xdev; | 1134 | struct usb_device *xdev; |
1135 | int status; | 1135 | int status; |
1136 | const char *name; | 1136 | const char *name; |
1137 | DECLARE_MAC_BUF(mac); | ||
1137 | 1138 | ||
1138 | name = udev->dev.driver->name; | 1139 | name = udev->dev.driver->name; |
1139 | info = (struct driver_info *) prod->driver_info; | 1140 | info = (struct driver_info *) prod->driver_info; |
@@ -1241,14 +1242,11 @@ usbnet_probe (struct usb_interface *udev, const struct usb_device_id *prod) | |||
1241 | if (status) | 1242 | if (status) |
1242 | goto out3; | 1243 | goto out3; |
1243 | if (netif_msg_probe (dev)) | 1244 | if (netif_msg_probe (dev)) |
1244 | devinfo (dev, "register '%s' at usb-%s-%s, %s, " | 1245 | devinfo (dev, "register '%s' at usb-%s-%s, %s, %s", |
1245 | "%02x:%02x:%02x:%02x:%02x:%02x", | ||
1246 | udev->dev.driver->name, | 1246 | udev->dev.driver->name, |
1247 | xdev->bus->bus_name, xdev->devpath, | 1247 | xdev->bus->bus_name, xdev->devpath, |
1248 | dev->driver_info->description, | 1248 | dev->driver_info->description, |
1249 | net->dev_addr [0], net->dev_addr [1], | 1249 | print_mac(mac, net->dev_addr)); |
1250 | net->dev_addr [2], net->dev_addr [3], | ||
1251 | net->dev_addr [4], net->dev_addr [5]); | ||
1252 | 1250 | ||
1253 | // ok, it's ready to go. | 1251 | // ok, it's ready to go. |
1254 | usb_set_intfdata (udev, dev); | 1252 | usb_set_intfdata (udev, dev); |