projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0c41e9
)
r8152: disable RX aggregation on new Dell TB16 dock
author
Kai-Heng Feng
<
[email protected]
>
Mon, 20 Aug 2018 04:43:51 +0000
(12:43 +0800)
committer
David S. Miller
<
[email protected]
>
Mon, 20 Aug 2018 20:03:29 +0000
(13:03 -0700)
There's a new Dell TB16 dock with a different iSerialNumber.
Apply the same fix from commit
0b1655143df0
("r8152: disable RX
aggregation on Dell TB16 dock") to this model.
BugLink:
https://bugs.launchpad.net/bugs/1785780
Signed-off-by: Kai-Heng Feng <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/usb/r8152.c
patch
|
blob
|
history
diff --git
a/drivers/net/usb/r8152.c
b/drivers/net/usb/r8152.c
index 97742708460bc8a415713537ff90060c07b07d27..2cd71bdb6484c774659598fff1e99cd49181337b 100644
(file)
--- a/
drivers/net/usb/r8152.c
+++ b/
drivers/net/usb/r8152.c
@@
-5217,8
+5217,8
@@
static int rtl8152_probe(struct usb_interface *intf,
netdev->hw_features &= ~NETIF_F_RXCSUM;
}
- if (le16_to_cpu(udev->descriptor.bcdDevice) == 0x3011 &&
-
udev->serial && !strcmp(udev->serial, "000001000000"
)) {
+ if (le16_to_cpu(udev->descriptor.bcdDevice) == 0x3011 &&
udev->serial &&
+
(!strcmp(udev->serial, "000001000000") || !strcmp(udev->serial, "000002000000")
)) {
dev_info(&udev->dev, "Dell TB16 Dock, disable RX aggregation");
set_bit(DELL_TB_RX_AGG_BUG, &tp->flags);
}