From 48332d13ae190c301ba04fe0aceafb1d1c55290f Mon Sep 17 00:00:00 2001 From: "Andrew J. Kroll" Date: Mon, 2 Sep 2013 22:57:54 -0400 Subject: [PATCH] [BUGFIX] Ensure bmReserved is a zero --- usbhub.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/usbhub.cpp b/usbhub.cpp index 4df7bfdb..e117a069 100644 --- a/usbhub.cpp +++ b/usbhub.cpp @@ -345,6 +345,7 @@ uint8_t USBHub::PortStatusChange(uint8_t port, HubEvent &evt) { bResetInitiated = false; UsbDeviceAddress a; + a.devAddress = 0; a.bmHub = 0; a.bmParent = bAddress; a.bmAddress = port;