Hayes Wang ffa9fec30c r8152: set RTL8152_UNPLUG only for real disconnection
Set the flag of RTL8152_UNPLUG if and only if the device is unplugged.
Some error codes sometimes don't mean the real disconnection of usb device.
For those situations, set the flag of RTL8152_UNPLUG causes the driver skips
some flows of disabling the device, and it let the device stay at incorrect
state.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-07-05 15:37:32 -07:00
..
2019-06-21 09:58:42 -07:00
2019-06-14 19:47:05 -07:00
2019-06-22 09:44:23 -04:00
2019-06-26 10:14:08 -07:00
2019-06-27 19:48:36 +03:00
2019-06-21 09:58:42 -07:00
2019-05-14 15:20:11 -07:00
2019-06-26 13:26:08 -07:00