From f16395dafd2efc188914cdbe0ca18148940bb66b Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Thu, 30 May 2013 00:11:37 +0200 Subject: [PATCH] make sure quit is reset to 0 after a device-init --- hmcfgusb.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.39.5