git: 9front

Download patch

ref: 02e1ff2a5ef4a64e74e55c3f133377a19ce14ab1
parent: eb7d9f4ad809b5bcfc0879fdab6333131ea0139c
author: cinap_lenrek <cinap_lenrek@felloff.net>
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;
--