Fix bulk/interrupt transfers in the new Windows USB backend
This change fixes a number of issues with sending bulk and interrupt transfers to a USB device using the new Windows backend. * Posting completion callbacks to the proper thread (a requirement for DevTools) has been fixed. * Overlapped I/O results are now read using the correct method (WinUsb_GetOverlappedResult) and from the correct handle. * Aborting transfers on handle close no longer results in a double-free. Bug: 637404 Change-Id: I4fdb254e4ea6e9cbf7d764f588c94d698d61cb02 Reviewed-on: https://chromium-review.googlesource.com/c/1313828 Commit-Queue: Reilly Grant <reillyg@chromium.org> Reviewed-by:Joshua Bell <jsbell@chromium.org> Cr-Commit-Position: refs/heads/master@{#604827}
Showing
Please register or sign in to comment