Re: [PATCH net] r8152: set RTL8152_UNPLUG only for real disconnection

2019-07-05 Thread David Miller
From: Hayes Wang Date: Thu, 4 Jul 2019 17:36:32 +0800 > 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

[PATCH net] r8152: set RTL8152_UNPLUG only for real disconnection

2019-07-04 Thread Hayes Wang
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