summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/9/pc/usbxhci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/pc/usbxhci.c b/sys/src/9/pc/usbxhci.c
index e03f27418..653fdb0ca 100644
--- a/sys/src/9/pc/usbxhci.c
+++ b/sys/src/9/pc/usbxhci.c
@@ -399,7 +399,7 @@ handoff(Ctlr *ctlr)
tsleep(&up->sleep, return0, nil, 10);
}
/* disable SMI interrupts */
- r[1] = (r[1] & (7<<1 | 255<<5 | 7<<17)) | 7<<29;
+ r[1] &= 7<<1 | 255<<5 | 7<<17 | 7<<29;
/* clear BIOS ownership in case of timeout */
r[0] &= ~(1<<16);