aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/usb/hso.c
diff options
context:
space:
mode:
authorHayes Wang <hayeswang@realtek.com>2018-02-02 16:43:36 +0800
committerDavid S. Miller <davem@davemloft.net>2018-02-02 19:19:00 -0500
commitaece4770fba62102951891c2f349a255c83eacb9 (patch)
treeb789c79767f374ba1a79e6afac81334bd7af2b3b /drivers/net/usb/hso.c
parentr8152: fix wrong checksum status for received IPv4 packets (diff)
downloadlinux-dev-aece4770fba62102951891c2f349a255c83eacb9.tar.xz
linux-dev-aece4770fba62102951891c2f349a255c83eacb9.zip
r8152: set rx mode early when linking on
Set rx mode before calling netif_wake_queue() when linking on to avoid the device missing the receiving packets. The transmission may start after calling netif_wake_queue(), and the packets of resopnse may reach before calling rtl8152_set_rx_mode() which let the device could receive packets. Then, the packets of response would be missed. Signed-off-by: Hayes Wang <hayeswang@realtek.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/hso.c')
0 files changed, 0 insertions, 0 deletions