diff options
| author | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-02-22 13:47:04 +0100 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-02-22 13:47:04 +0100 |
| commit | 3612d281aaf3daaef555709a56dc67a663211328 (patch) | |
| tree | 5edbb4b3db4a236f6d04b0eaca84defda50f3cce | |
| parent | f5ff6d6f34e2cab60722a8a2e8444436c969bfeb (diff) | |
| download | plan9front-3612d281aaf3daaef555709a56dc67a663211328.tar.xz | |
sdiahci: fix mistake
| -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); |
