ChangeSet 1.1276.1.66, 2003/08/29 14:39:40-07:00, quade@hsnr.de [PATCH] USB: usb-skeleton bugfix drivers/usb/usb-skeleton.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -Nru a/drivers/usb/usb-skeleton.c b/drivers/usb/usb-skeleton.c --- a/drivers/usb/usb-skeleton.c Tue Sep 2 12:42:26 2003 +++ b/drivers/usb/usb-skeleton.c Tue Sep 2 12:42:26 2003 @@ -295,7 +295,7 @@ if (atomic_read (&dev->write_busy)) wait_for_completion (&dev->write_finished); - dev->open = 0; + --dev->open; if (!dev->present) { /* the device was unplugged before the file was released */