Re: [Libusbx-devel] [PATCH] Initialize auto_detach_kernel_driver to 0 for new handle

2013-06-26 Thread Hans de Goede
Hi, On 06/25/2013 11:56 PM, Chris Dickens wrote: > Sorry, here's the patch with correct whitespace. Thanks for this, I thought that we were memsetting things to 0 on creation, so that this would not be necessary, but I was wrong. Patch pushed. Regards, Hans ---

Re: [Libusbx-devel] [PATCH] Initialize auto_detach_kernel_driver to 0 for new handle

2013-06-25 Thread Chris Dickens
Sorry, here's the patch with correct whitespace. Regards, Chris 0001-core.c-Initialize-auto_detach_kernel_driver-to-0-for.patch Description: Binary data -- This SF.net email is sponsored by Windows: Build for Windows St

[Libusbx-devel] [PATCH] Initialize auto_detach_kernel_driver to 0 for new handle

2013-06-25 Thread Chris Dickens
Hi, I have discovered that the auto_detach_kernel_driver functionality was being randomly used by devices that I had not explicitly set to use it. The root cause is that the value was never initialized after allocating the new handle. This patch fixes this issue. Chris 0001-core.c-Initialize-au