etheriwl: bring back recovery on flushq timeout
This commit is contained in:
parent
2a946b24a6
commit
3f835565d5
|
@ -3502,6 +3502,7 @@ flushq(Ctlr *ctlr, uint qid)
|
|||
qunlock(q);
|
||||
if(ctlr->broken)
|
||||
return "flushq: broken";
|
||||
ctlr->broken = 1;
|
||||
return "flushq: timeout";
|
||||
}
|
||||
|
||||
|
@ -4296,6 +4297,7 @@ iwlshutdown(Ether *edev)
|
|||
if(ctlr->power)
|
||||
poweroff(ctlr);
|
||||
ctlr->broken = 0;
|
||||
pcidisable(ctlr->pdev);
|
||||
}
|
||||
|
||||
static Ctlr *iwlhead, *iwltail;
|
||||
|
|
Loading…
Reference in a new issue