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.
This commit is contained in:
cinap_lenrek 2020-10-18 03:05:35 +02:00
parent cf8ff0e713
commit 3cfa8326b8

View file

@ -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;