Skip to content

Commit

Permalink
r8152: increase the tx timeout
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
hayeswang authored and David S. Miller committed Jul 8, 2014
1 parent 4f6ad60 commit b812540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/usb/r8152.c
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ enum rtl_register_content {
#define BYTE_EN_END_MASK 0xf0

#define RTL8152_RMS (VLAN_ETH_FRAME_LEN + VLAN_HLEN)
#define RTL8152_TX_TIMEOUT (HZ)
#define RTL8152_TX_TIMEOUT (5 * HZ)

/* rtl8152 flags */
enum rtl8152_flags {
Expand Down

0 comments on commit b812540

Please sign in to comment.