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;
|
p = c->p;
|
||||||
s = p->sstatus;
|
s = p->sstatus;
|
||||||
if((s & Isleepy) != 0)
|
if((s & Isleepy) == 0)
|
||||||
return;
|
return;
|
||||||
if((s & Smask) != Spresent){
|
if((s & Smask) != Spresent){
|
||||||
dprint("ahci: slumbering drive missing [ss %.3ux]\n", s);
|
dprint("ahci: slumbering drive missing [ss %.3ux]\n", s);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue