Skip to content

Commit b812540

Browse files
hayesorzdavem330
authored andcommitted
r8152: increase the tx timeout
When the system is too busy to complete the urb, the tx timout function would be called. This causes the other tx urbs would be killed, too. Increase the tx timeout to avoid it. Signed-off-by: Hayes Wang <hayeswang@realtek.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 4f6ad60 commit b812540

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/usb/r8152.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ enum rtl_register_content {
441441
#define BYTE_EN_END_MASK 0xf0
442442

443443
#define RTL8152_RMS (VLAN_ETH_FRAME_LEN + VLAN_HLEN)
444-
#define RTL8152_TX_TIMEOUT (HZ)
444+
#define RTL8152_TX_TIMEOUT (5 * HZ)
445445

446446
/* rtl8152 flags */
447447
enum rtl8152_flags {

0 commit comments

Comments
 (0)