commit | 6871438cc4e5307ccda70fa2a246a546300ac9fa | [log] [tgz] |
---|---|---|
author | hayeswang <hayeswang@realtek.com> | Fri Apr 11 17:54:31 2014 +0800 |
committer | David S. Miller <davem@davemloft.net> | Sat Apr 12 01:59:38 2014 -0400 |
tree | c9e22594e72552ef669f65fb565cee0064acb3ba | |
parent | cec9ae50ccb1491efee90dc8e9998e29e43652b6 [diff] |
r8152: check RTL8152_UNPLUG When the device is unplugged, the driver would try to disable the device. Add checking the flag of RTL8152_UNPLUG to skip setting the device when it is unplugged. This could shorten the time of unloading the driver. Signed-off-by: Hayes Wang <hayeswang@realtek.com> Signed-off-by: David S. Miller <davem@davemloft.net>