- Ports are counted starting from 1, with 0 being an invalid port index. Remove memor...
authorAleksey Bragin <aleksey@reactos.org>
Sun, 28 Sep 2008 11:05:18 +0000 (11:05 +0000)
committerAleksey Bragin <aleksey@reactos.org>
Sun, 28 Sep 2008 11:05:18 +0000 (11:05 +0000)
svn path=/trunk/; revision=36572

reactos/drivers/usb/nt4compat/usbdriver/hub.h

index 91447c9..940d401 100644 (file)
@@ -208,7 +208,7 @@ typedef struct _HUB2_EXTENSION
        USB_HUB_STATUS                          hub_status;
        USB_PORT_STATUS                         port_status;            //working data buf for get port feature
 
-       USB_PORT_STATUS                         rh_port_status[ EHCI_MAX_ROOT_PORTS ];  //working buf for get rh ports feature
+       USB_PORT_STATUS                         rh_port_status[ EHCI_MAX_ROOT_PORTS + 1 ];      //working buf for get rh ports feature
 
        UCHAR                                           multiple_tt;                    // boolean
        ULONG                                           tt_status_map[ 4 ];             // bit map to indicate the indexed tt's periodic buffer busy or not