From: Michael Gernoth Date: Wed, 29 May 2013 22:11:37 +0000 (+0200) Subject: make sure quit is reset to 0 after a device-init X-Git-Tag: v0.100~99 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/hmcfgusb/commitdiff_plain/f16395dafd2efc188914cdbe0ca18148940bb66b?hp=816f5cd2ecb24d72753fed01597a81e031398446 make sure quit is reset to 0 after a device-init --- diff --git a/hmcfgusb.c b/hmcfgusb.c index ace2e57..1a6bb76 100644 --- a/hmcfgusb.c +++ b/hmcfgusb.c @@ -317,6 +317,8 @@ struct hmcfgusb_dev *hmcfgusb_init(hmcfgusb_cb_fn cb, void *data) dev->n_pfd = dev->n_usb_pfd; + quit = 0; + return dev; }