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