Changeset 60793 in vbox for trunk/src/VBox/ValidationKit/utils/usb/UsbTestServiceGadgetClassTest.cpp
- Timestamp:
- May 2, 2016 4:12:43 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/utils/usb/UsbTestServiceGadgetClassTest.cpp
r60522 r60793 291 291 char *pszManufacturer = NULL; 292 292 char *pszProduct = NULL; 293 bool fSuperSpeed = false; 293 294 294 295 /* Get basic device config. */ … … 304 305 if (RT_SUCCESS(rc)) 305 306 rc = utsGadgetCfgQueryStringDef(paCfg, "Gadget/Product", &pszProduct, UTS_GADGET_TEST_PRODUCT_DEF); 307 if (RT_SUCCESS(rc)) 308 rc = utsGadgetCfgQueryBoolDef(paCfg, "Gadget/SuperSpeed", &fSuperSpeed, false); 306 309 307 310 if (RT_SUCCESS(rc)) … … 357 360 pClass->pszUdc = NULL; 358 361 359 rc = utsPlatformLnxAcquireUDC( &pClass->pszUdc, &pClass->uBusId);362 rc = utsPlatformLnxAcquireUDC(fSuperSpeed, &pClass->pszUdc, &pClass->uBusId); 360 363 if (RT_SUCCESS(rc)) 361 364 rc = RTLinuxSysFsWriteStrFile(pClass->pszUdc, 0, NULL, "%s/UDC", pClass->pszGadgetPath);
Note:
See TracChangeset
for help on using the changeset viewer.