xhci: SubmitControlRequest: init 1st quadbit in SetupStage

Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
This commit is contained in:
Greg Crain 2017-11-08 17:48:10 +01:00 committed by Jérôme Duval
parent a54feb0e89
commit 5ed6ef8e18

View File

@ -608,6 +608,7 @@ XHCI::SubmitControlRequest(Transfer *transfer)
// set SetupStage
uint8 index = 0;
setupDescriptor->trbs[index].qwtrb0 = 0;
setupDescriptor->trbs[index].dwtrb2 = TRB_2_IRQ(0) | TRB_2_BYTES(8);
setupDescriptor->trbs[index].dwtrb3
= B_HOST_TO_LENDIAN_INT32(TRB_3_TYPE(TRB_TYPE_SETUP_STAGE)