ref: 3cfa8326b878e3eacce5595f6b839b4650c61621
parent: cf8ff0e71369afdf600e36924c2d046ecf783cbf
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat Oct 17 23:05:35 EDT 2020
etheriwl: don't break controller on command flush timeout ori and echoline are reporting regression on some 6000 cards; which sometimes time out on crystal calibration command; which is expected by the driver. but the new code used to force a device reset on any command timeout. reverting to old behaviour until for now until we have a chance investigating.
--- a/sys/src/9/pc/etheriwl.c
+++ b/sys/src/9/pc/etheriwl.c
@@ -3513,7 +3513,6 @@
if((err = qcmd(ctlr, 4, code, data, size, nil)) != nil
|| (err = flushq(ctlr, 4)) != nil){
print("#l%d: cmd %ud: %s\n", ctlr->edev->ctlrno, code, err);
- ctlr->broken = 1;
return err;
}
return nil;