xhci: SubmitControlRequest: init 1st quadbit in SetupStage
Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
This commit is contained in:
parent
a54feb0e89
commit
5ed6ef8e18
@ -608,6 +608,7 @@ XHCI::SubmitControlRequest(Transfer *transfer)
|
|||||||
|
|
||||||
// set SetupStage
|
// set SetupStage
|
||||||
uint8 index = 0;
|
uint8 index = 0;
|
||||||
|
setupDescriptor->trbs[index].qwtrb0 = 0;
|
||||||
setupDescriptor->trbs[index].dwtrb2 = TRB_2_IRQ(0) | TRB_2_BYTES(8);
|
setupDescriptor->trbs[index].dwtrb2 = TRB_2_IRQ(0) | TRB_2_BYTES(8);
|
||||||
setupDescriptor->trbs[index].dwtrb3
|
setupDescriptor->trbs[index].dwtrb3
|
||||||
= B_HOST_TO_LENDIAN_INT32(TRB_3_TYPE(TRB_TYPE_SETUP_STAGE)
|
= B_HOST_TO_LENDIAN_INT32(TRB_3_TYPE(TRB_TYPE_SETUP_STAGE)
|
||||||
|
Loading…
Reference in New Issue
Block a user