summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2020-10-18 03:05:35 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2020-10-18 03:05:35 +0200
commit3cfa8326b878e3eacce5595f6b839b4650c61621 (patch)
treeec527b6dce5dc5284afc720345f18d19c67d5738
parentcf8ff0e71369afdf600e36924c2d046ecf783cbf (diff)
downloadplan9front-3cfa8326b878e3eacce5595f6b839b4650c61621.tar.xz
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.
-rw-r--r--sys/src/9/pc/etheriwl.c1
1 files changed, 0 insertions, 1 deletions
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;