Changeset 70694 in vbox for trunk/src/VBox/Devices/USB/VUSBDevice.cpp
- Timestamp:
- Jan 22, 2018 9:41:08 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/USB/VUSBDevice.cpp
r70693 r70694 313 313 pDev->pUsbIns, pNewCfgDesc->Core.bConfigurationValue, 314 314 pDev->pCurCfgDesc, pDev->paIfStates, pNewCfgDesc); 315 RTCritSectLeave(&pDev->pHub->pRootHub->CritSectDevices); 315 316 if (RT_FAILURE(rc)) 316 317 { … … 318 319 return false; 319 320 } 320 RTCritSectLeave(&pDev->pHub->pRootHub->CritSectDevices);321 321 } 322 322 Log(("vusb: %p[%s]: SET_CONFIGURATION: Selected config %u\n", pDev, pDev->pUsbIns->pszName, iCfg)); … … 461 461 RTCritSectEnter(&pDev->pHub->pRootHub->CritSectDevices); 462 462 int rc = vusbDevIoThreadExecSync(pDev, (PFNRT)pDev->pUsbIns->pReg->pfnUsbSetInterface, 3, pDev->pUsbIns, iIf, iAlt); 463 RTCritSectLeave(&pDev->pHub->pRootHub->CritSectDevices); 463 464 if (RT_FAILURE(rc)) 464 465 { … … 466 467 return false; 467 468 } 468 RTCritSectLeave(&pDev->pHub->pRootHub->CritSectDevices);469 469 } 470 470
Note:
See TracChangeset
for help on using the changeset viewer.