diff options
Diffstat (limited to 'drivers/usb/net/rtl8150.c')
-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 bd09232ce13..a72685b9606 100644 --- a/drivers/usb/net/rtl8150.c +++ b/drivers/usb/net/rtl8150.c | |||
@@ -972,6 +972,7 @@ static void rtl8150_disconnect(struct usb_interface *intf) | |||
972 | if (dev) { | 972 | if (dev) { |
973 | set_bit(RTL8150_UNPLUG, &dev->flags); | 973 | set_bit(RTL8150_UNPLUG, &dev->flags); |
974 | tasklet_disable(&dev->tl); | 974 | tasklet_disable(&dev->tl); |
975 | tasklet_kill(&dev->tl); | ||
975 | unregister_netdev(dev->netdev); | 976 | unregister_netdev(dev->netdev); |
976 | unlink_all_urbs(dev); | 977 | unlink_all_urbs(dev); |
977 | free_all_urbs(dev); | 978 | free_all_urbs(dev); |