[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] ehci: fix assertion typo
From: |
Alejandro Martinez Ruiz |
Subject: |
[Qemu-devel] [PATCH] ehci: fix assertion typo |
Date: |
Tue, 14 Aug 2012 16:13:02 +0200 |
Signed-off-by: Alejandro Martinez Ruiz <address@hidden>
---
hw/usb/hcd-ehci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/usb/hcd-ehci.c b/hw/usb/hcd-ehci.c
index b043e7c..104c21d 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;
}
}
--
1.7.12.rc2.18.g61b472e
- [Qemu-devel] [PATCH] ehci: fix assertion typo,
Alejandro Martinez Ruiz <=