From 3cfa8326b878e3eacce5595f6b839b4650c61621 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sun, 18 Oct 2020 03:05:35 +0200 Subject: [PATCH] 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. --- sys/src/9/pc/etheriwl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/src/9/pc/etheriwl.c b/sys/src/9/pc/etheriwl.c index f7b353242..93285850e 100644 --- a/sys/src/9/pc/etheriwl.c +++ b/sys/src/9/pc/etheriwl.c @@ -3513,7 +3513,6 @@ cmd(Ctlr *ctlr, uint code, uchar *data, int size) 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;