xhci: Fix status stage TRB direction in get_desc_raw

This commit is contained in:
Jeremy Soller
2023-02-15 13:13:39 -07:00
parent a86f32e67a
commit e62b798a8b
+1 -1
View File
@@ -113,7 +113,7 @@ impl Xhci {
let last_index = ring.next_index();
let (cmd, cycle) = (&mut ring.trbs[last_index], ring.cycle);
cmd.status(0, true, true, false, false, cycle);
cmd.status(0, false, true, false, false, cycle);
self.next_transfer_event_trb(RingId::default_control_pipe(port as u8), &ring, &ring.trbs[last_index])
};