From: Alejandro Martinez Ruiz Date: Tue, 14 Aug 2012 14:13:02 +0000 (+0200) Subject: ehci: fix assertion typo X-Git-Tag: v1.2.0-rc0~21^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=df6839c7f7f0afb208414234903a8f8202fc6770;p=thirdparty%2Fqemu.git ehci: fix assertion typo Signed-off-by: Alejandro Martinez Ruiz Reviewed-by: Andreas Färber Signed-off-by: Stefan Hajnoczi --- diff --git a/hw/usb/hcd-ehci.c b/hw/usb/hcd-ehci.c index b043e7c23e2..104c21d3156 100644 --- a/hw/usb/hcd-ehci.c +++ b/hw/usb/hcd-ehci.c @@ -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; } }