diff options
author | Tom Rini <trini@konsulko.com> | 2016-09-09 14:59:15 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-09-09 15:53:15 -0400 |
commit | 12f05678e157ef4472b4e3611bb7ae9751487ff0 (patch) | |
tree | 1634f0a3af79e365f8ffe2ecbc89cd13db4a763c /drivers/usb | |
parent | aca9814dc5e213c1a37a5d6bc7221240ad08e9a0 (diff) | |
parent | 41d1258aceb45b45f9e68f67a9c40f0afbc09dc9 (diff) |
Merge branch 'master' of git://git.denx.de/u-boot-net
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/eth/asix.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/usb/eth/asix.c b/drivers/usb/eth/asix.c index ad083cf8ae..a610ae447b 100644 --- a/drivers/usb/eth/asix.c +++ b/drivers/usb/eth/asix.c @@ -819,6 +819,11 @@ int asix_eth_recv(struct udevice *dev, int flags, uchar **packetp) } *packetp = ptr + sizeof(packet_len); + + if ((ueth->pusb_dev->descriptor.idVendor == ASIX_USB_VENDOR_ID) && + (ueth->pusb_dev->descriptor.idProduct == AX88772B_USB_PRODUCT_ID)) + *packetp += 2; + return packet_len; err: |