ChangeSet 1.1043.1.22, 2003/02/18 09:22:09-08:00, baldrick@wanadoo.fr [PATCH] USB speedtouch: speedtouch stability fix fix It's usually considered stupid to stuff-up like this. However, for this once we'll just call it "inspired". diff -Nru a/drivers/usb/misc/speedtouch.c b/drivers/usb/misc/speedtouch.c --- a/drivers/usb/misc/speedtouch.c Tue Feb 18 16:37:44 2003 +++ b/drivers/usb/misc/speedtouch.c Tue Feb 18 16:37:44 2003 @@ -709,7 +709,7 @@ PDEBUG ("udsl_atm_dev_close: queue has %u elements\n", instance->sndqueue.qlen); PDEBUG ("udsl_atm_dev_close: killing tasklet\n"); - tasklet_kill (&instance->receive_tasklet); + tasklet_kill (&instance->send_tasklet); PDEBUG ("udsl_atm_dev_close: freeing instance\n"); kfree (instance); } @@ -1121,7 +1121,7 @@ INIT_LIST_HEAD (&instance->spare_buffers); instance->current_buffer = NULL; - tasklet_enable (&instance->receive_tasklet); + tasklet_enable (&instance->send_tasklet); PDEBUG ("udsl_usb_disconnect: freeing senders\n"); for (i = 0; i < UDSL_NUMBER_SND_URBS; i++)