Changeset 87609 in vbox for trunk/src/VBox/Devices/USB
- Timestamp:
- Feb 4, 2021 4:00:52 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/USB/VUSBUrb.cpp
r87207 r87609 633 633 RTStrAPrintf(&pExtra->Urb.pszDesc, "URB %p msg->%p", &pExtra->Urb, pUrb); 634 634 #endif 635 pExtra->Urb.pVUsb = (PVUSBURBVUSB)&pExtra->VUsbExtra;635 pExtra->Urb.pVUsb = &pExtra->VUsbExtra; 636 636 //pExtra->Urb.pVUsb->pCtrlUrb = NULL; 637 637 //pExtra->Urb.pVUsb->pNext = NULL; … … 695 695 LogFlow(("vusbMsgSetup: Replacing canceled pExtra=%p with %p.\n", pExtra, pvNew)); 696 696 pPipe->pCtrl = pExtra = (PVUSBCTRLEXTRA)pvNew; 697 pExtra->Urb.pVUsb = (PVUSBURBVUSB)&pExtra->Urb.abData[sizeof(pExtra->Urb.abData) + sizeof(VUSBSETUP)];697 pExtra->Urb.pVUsb = &pExtra->VUsbExtra; 698 698 pExtra->Urb.pVUsb->pUrb = &pExtra->Urb; 699 699 pExtra->pMsg = (PVUSBSETUP)pExtra->Urb.abData; … … 721 721 pExtra = pNew; 722 722 pPipe->pCtrl = pExtra; 723 pExtra->Urb.pVUsb = (PVUSBURBVUSB)&pExtra->VUsbExtra;723 pExtra->Urb.pVUsb = &pExtra->VUsbExtra; 724 724 pExtra->Urb.pVUsb->pUrb = &pExtra->Urb; 725 725 pExtra->Urb.pVUsb->pvFreeCtx = &pExtra->Urb;
Note:
See TracChangeset
for help on using the changeset viewer.