Changeset 60856 in vbox for trunk/src/VBox/ValidationKit/tests/usb/tdUsb1.py
- Timestamp:
- May 6, 2016 9:04:21 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/usb/tdUsb1.py
r60634 r60856 315 315 self.oVBox.host.addUSBDeviceSource('USBIP', sGadgetHost, sGadgetHost + (':%s' % oUsbGadget.getUsbIpPort()), [], []); 316 316 317 fSuperSpeed = False; 318 if sSpeed == 'Super': 319 fSuperSpeed = True; 320 317 321 # Create test device gadget and a filter to attach the device automatically. 318 fRc = oUsbGadget.impersonate(usbgadget.g_ksGadgetImpersonationTest);322 fRc = self.oUsbGadget.impersonate(usbgadget.g_ksGadgetImpersonationTest, fSuperSpeed); 319 323 if fRc is True: 320 324 iBusId, _ = oUsbGadget.getGadgetBusAndDevId(); … … 362 366 self.oVBox.host.addUSBDeviceSource('USBIP', sGadgetHost, sGadgetHost + (':%s' % oUsbGadget.getUsbIpPort()), [], []); 363 367 368 fSuperSpeed = False; 369 if sSpeed == 'Super': 370 fSuperSpeed = True; 371 364 372 # Create test device gadget and a filter to attach the device automatically. 365 fRc = oUsbGadget.impersonate(usbgadget.g_ksGadgetImpersonationTest);373 fRc = self.oUsbGadget.impersonate(usbgadget.g_ksGadgetImpersonationTest, fSuperSpeed); 366 374 if fRc is True: 367 375 iBusId, _ = oUsbGadget.getGadgetBusAndDevId();
Note:
See TracChangeset
for help on using the changeset viewer.