ref: 3f835565d5a8366ebb48fd611d3cd902db766b93
parent: 2a946b24a6b9ff38a33e27d54b46dbb898373267
author: cinap_lenrek <[email protected]>
date: Sun Nov 15 09:54:09 EST 2020
etheriwl: bring back recovery on flushq timeout
--- a/sys/src/9/pc/etheriwl.c
+++ b/sys/src/9/pc/etheriwl.c
@@ -3502,6 +3502,7 @@
qunlock(q);
if(ctlr->broken)
return "flushq: broken";
+ ctlr->broken = 1;
return "flushq: timeout";
}
@@ -4296,6 +4297,7 @@
if(ctlr->power)
poweroff(ctlr);
ctlr->broken = 0;
+ pcidisable(ctlr->pdev);
}
static Ctlr *iwlhead, *iwltail;