diff options
-rw-r--r-- | drivers/net/usb/asix.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/usb/asix.c b/drivers/net/usb/asix.c index 1c85c477e174..e81e22e3d1d2 100644 --- a/drivers/net/usb/asix.c +++ b/drivers/net/usb/asix.c | |||
@@ -1397,6 +1397,9 @@ static int ax88178_bind(struct usbnet *dev, struct usb_interface *intf) | |||
1397 | int ret; | 1397 | int ret; |
1398 | u8 buf[ETH_ALEN]; | 1398 | u8 buf[ETH_ALEN]; |
1399 | u32 phyid; | 1399 | u32 phyid; |
1400 | struct asix_data *data = (struct asix_data *)&dev->data; | ||
1401 | |||
1402 | data->eeprom_len = AX88772_EEPROM_LEN; | ||
1400 | 1403 | ||
1401 | usbnet_get_endpoints(dev,intf); | 1404 | usbnet_get_endpoints(dev,intf); |
1402 | 1405 | ||