Set recv.len to zero if we get no response.
This commit is contained in:
parent
fd59632766
commit
13bd86018b
@ -1091,12 +1091,15 @@ fwohci_txd(struct fwohci_softc *sc, struct fwohci_dbch *dbch)
|
||||
xfer->resp = err;
|
||||
if (xfer->retry_req != NULL)
|
||||
xfer->retry_req(xfer);
|
||||
else
|
||||
else {
|
||||
xfer->recv.len = 0;
|
||||
fw_xfer_done(xfer);
|
||||
}
|
||||
} else if (stat != FWOHCIEV_ACKPEND) {
|
||||
if (stat != FWOHCIEV_ACKCOMPL)
|
||||
xfer->state = FWXF_SENTERR;
|
||||
xfer->resp = err;
|
||||
xfer->recv.len = 0;
|
||||
fw_xfer_done(xfer);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user