[BUGFIX] Ensure bmReserved is a zero

This commit is contained in:
Andrew J. Kroll 2013-09-02 22:57:54 -04:00
parent ab74e7750a
commit 48332d13ae

View file

@ -345,6 +345,7 @@ uint8_t USBHub::PortStatusChange(uint8_t port, HubEvent &evt) {
bResetInitiated = false; bResetInitiated = false;
UsbDeviceAddress a; UsbDeviceAddress a;
a.devAddress = 0;
a.bmHub = 0; a.bmHub = 0;
a.bmParent = bAddress; a.bmParent = bAddress;
a.bmAddress = port; a.bmAddress = port;