diff options
Diffstat (limited to 'drivers/usb/net')
-rw-r--r-- | drivers/usb/net/rtl8150.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/net/rtl8150.c b/drivers/usb/net/rtl8150.c index c3d4e3589e30..787dd3591d6a 100644 --- a/drivers/usb/net/rtl8150.c +++ b/drivers/usb/net/rtl8150.c | |||
@@ -909,6 +909,7 @@ static void rtl8150_disconnect(struct usb_interface *intf) | |||
909 | usb_set_intfdata(intf, NULL); | 909 | usb_set_intfdata(intf, NULL); |
910 | if (dev) { | 910 | if (dev) { |
911 | set_bit(RTL8150_UNPLUG, &dev->flags); | 911 | set_bit(RTL8150_UNPLUG, &dev->flags); |
912 | tasklet_disable(&dev->tl); | ||
912 | unregister_netdev(dev->netdev); | 913 | unregister_netdev(dev->netdev); |
913 | unlink_all_urbs(dev); | 914 | unlink_all_urbs(dev); |
914 | free_all_urbs(dev); | 915 | free_all_urbs(dev); |