Skip to content

Commit

Permalink
ehci: fix assertion typo
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
unleashed authored and Stefan Hajnoczi committed Aug 15, 2012
1 parent e743cce commit df6839c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/usb/hcd-ehci.c
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit df6839c

Please sign in to comment.