r8152: reset device when tx timeout
authorhayeswang <hayeswang@realtek.com>
Wed, 29 Jul 2015 12:39:09 +0000 (20:39 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Jul 2015 21:03:46 +0000 (14:03 -0700)
commit37608f3e57dda037a230afb7dc8da9a63f100e06
tree8644b530646ae8e4880f81caa2f11bf4d812402f
parente501139a515018f913761d3bf4239313c87e721c
r8152: reset device when tx timeout

The device reset is necessary if the hw becomes abnormal and stops
transmitting packets.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c