We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af872b6 commit 00fcf8cCopy full SHA for 00fcf8c
drivers/net/usb/r8152.c
@@ -9638,9 +9638,12 @@ static int rtl8152_probe(struct usb_interface *intf,
9638
netdev->hw_features &= ~NETIF_F_RXCSUM;
9639
}
9640
9641
- if (udev->parent &&
9642
- le16_to_cpu(udev->parent->descriptor.idVendor) == VENDOR_ID_LENOVO) {
9643
- tp->lenovo_macpassthru = 1;
+ if (le16_to_cpu(udev->descriptor.idVendor) == VENDOR_ID_LENOVO) {
+ switch (le16_to_cpu(udev->descriptor.idProduct)) {
+ case DEVICE_ID_THINKPAD_THUNDERBOLT3_DOCK_GEN2:
9644
+ case DEVICE_ID_THINKPAD_USB_C_DOCK_GEN2:
9645
+ tp->lenovo_macpassthru = 1;
9646
+ }
9647
9648
9649
if (le16_to_cpu(udev->descriptor.bcdDevice) == 0x3011 && udev->serial &&
0 commit comments