VirtualBox

Changeset 32080 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 30, 2010 8:41:59 AM (14 years ago)
Author:
vboxsync
Message:

Main/linux/USB proxy: fixed typo to properly ignore USB hubs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/linux/USBProxyServiceLinux.cpp

    r31892 r32080  
    14491449            {
    14501450                ssize_t cb = RTLinuxSysFsGetLinkDest(szBuf, sizeof(szBuf), "%s/driver",
    1451                                                      USBInterfaceList_iter_target(&it2));
     1451                                                     *USBInterfaceList_iter_target(&it2));
    14521452                if (cb > 0 && Dev->enmState != USBDEVICESTATE_UNSUPPORTED)
    14531453                    Dev->enmState = (strcmp(szBuf, "hub") == 0)
     
    14551455                                  : USBDEVICESTATE_USED_BY_HOST_CAPTURABLE;
    14561456                if (RTLinuxSysFsReadIntFile(16, "%s/bInterfaceClass",
    1457                                             USBInterfaceList_iter_target(&it2)) == 9 /* hub */)
     1457                                            *USBInterfaceList_iter_target(&it2)) == 9 /* hub */)
    14581458                    Dev->enmState = USBDEVICESTATE_UNSUPPORTED;
    14591459            }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette