VirtualBox

Changeset 65529 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Jan 31, 2017 8:00:40 AM (8 years ago)
Author:
vboxsync
Message:

USB: bugref:8752 Fix USBLibPurgeEncoding and always purge the device strings when creating a filter in userspace too to match what the driver presents to the filter manager

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/USBProxyBackend.cpp

    r65088 r65529  
    525525    {
    526526        vrc = USBFilterSetStringExact(aFilter, USBFILTERIDX_SERIAL_NUMBER_STR, pDev->pszSerialNumber,
    527                                       true /*fMustBePresent*/, false /*fPurge*/);
     527                                      true /*fMustBePresent*/, true /*fPurge*/);
    528528        AssertRC(vrc);
    529529    }
     
    531531    {
    532532        vrc = USBFilterSetStringExact(aFilter, USBFILTERIDX_PRODUCT_STR, pDev->pszProduct,
    533                                       true /*fMustBePresent*/, false /*fPurge*/);
     533                                      true /*fMustBePresent*/, true /*fPurge*/);
    534534        AssertRC(vrc);
    535535    }
     
    537537    {
    538538        vrc = USBFilterSetStringExact(aFilter, USBFILTERIDX_MANUFACTURER_STR, pDev->pszManufacturer,
    539                                       true /*fMustBePresent*/, false /*fPurge*/);
     539                                      true /*fMustBePresent*/, true /*fPurge*/);
    540540        AssertRC(vrc);
    541541    }
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