]> git.zerfleddert.de Git - usb-driver/commitdiff
disable sharing the XPCU cable for now, as this causes problems even when
authorMichael Gernoth <michael@gernoth.net>
Thu, 21 Aug 2008 08:14:27 +0000 (10:14 +0200)
committerMichael Gernoth <michael@gernoth.net>
Thu, 21 Aug 2008 08:14:27 +0000 (10:14 +0200)
only one application uses the cable

xpcu.c

diff --git a/xpcu.c b/xpcu.c
index d8b42e0bf74fe039db5ddc3cc62536f301c74370..56e584c70af16eeeeee899066b489337e7e0c9f5 100644 (file)
--- a/xpcu.c
+++ b/xpcu.c
@@ -222,9 +222,11 @@ static int xpcu_claim(struct xpcu_s *xpcu, int claim) {
                if (!claimed)
                        return 0;
 
+#if 0
                ret = usb_release_interface(xpcu->handle, xpcu->interface);
                if (!ret)
                        claimed = 0;
+#endif
        }
 
        return ret;
Impressum, Datenschutz