sdiahci: fix mistake
This commit is contained in:
parent
f5ff6d6f34
commit
3612d281aa
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue