ref: b30aca95ce21fff4b5534fbeb37be20250270162
parent: 4e2a819d625f5faf1d201b644c9ae3b8173a47b8
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;
--
⑨