etheriwl: bring back recovery on flushq timeout

This commit is contained in:
cinap_lenrek 2020-11-15 14:54:09 +01:00
parent 2a946b24a6
commit 3f835565d5

View file

@ -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;