diff options
| -rw-r--r-- | sys/src/9/pc/sdiahci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/pc/sdiahci.c b/sys/src/9/pc/sdiahci.c index 6657785df..358c71da8 100644 --- a/sys/src/9/pc/sdiahci.c +++ b/sys/src/9/pc/sdiahci.c @@ -587,7 +587,7 @@ ahciwakeup(Aportc *c, uint mode) p = c->p; s = p->sstatus; - if((s & Isleepy) != 0) + if((s & Isleepy) == 0) return; if((s & Smask) != Spresent){ dprint("ahci: slumbering drive missing [ss %.3ux]\n", s); |
