diff options
author | Hayes Wang <hayeswang@realtek.com> | 2019-07-04 17:36:32 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-05 15:37:32 -0700 |
commit | ffa9fec30ca0ceb7d5156a1649b9576058756616 (patch) | |
tree | 8a01ea019bc940af3333576bf04f529433ae29d3 /net/ipv4/route.c | |
parent | Merge branch 'hsr-bug-fixes' (diff) | |
download | linux-dev-ffa9fec30ca0ceb7d5156a1649b9576058756616.tar.xz linux-dev-ffa9fec30ca0ceb7d5156a1649b9576058756616.zip |
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>
Diffstat (limited to 'net/ipv4/route.c')
0 files changed, 0 insertions, 0 deletions