]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/usb/kaweth.c
Merge branch 'eseries' into pxa
[linux-2.6-omap-h63xx.git] / drivers / net / usb / kaweth.c
index 0dcfc0310264deddbe390ff13dda342a31b2f937..7c66b052f55a72725714ed447f6a9a934780f73f 100644 (file)
@@ -706,7 +706,7 @@ static void kaweth_kill_urbs(struct kaweth_device *kaweth)
        usb_kill_urb(kaweth->rx_urb);
        usb_kill_urb(kaweth->tx_urb);
 
-       flush_scheduled_work();
+       cancel_delayed_work_sync(&kaweth->lowmem_work);
 
        /* a scheduled work may have resubmitted,
           we hit them again */