ehci: fix assertion typo
Signed-off-by: Alejandro Martinez Ruiz <alex@securiforest.com> Reviewed-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
This commit is contained in:
parent
e743ccecb1
commit
df6839c7f7
@ -2010,7 +2010,7 @@ static void ehci_fill_queue(EHCIPacket *p)
|
||||
p->qtdaddr = qtdaddr;
|
||||
p->qtd = qtd;
|
||||
p->usb_status = ehci_execute(p, "queue");
|
||||
assert(p->usb_status = USB_RET_ASYNC);
|
||||
assert(p->usb_status == USB_RET_ASYNC);
|
||||
p->async = EHCI_ASYNC_INFLIGHT;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user