diff options
author | jhb <jhb@FreeBSD.org> | 2006-10-05 15:33:43 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2006-10-05 15:33:43 +0000 |
commit | d68a9f2714cac8e855fe3edba2bba91b80e11b1a (patch) | |
tree | 921356b6f5e599a803ca3620fa1e5c248fa6f610 /sys/dev | |
parent | f576e0540b05ad6f5454b4ef0635061887b0df3e (diff) | |
download | FreeBSD-src-d68a9f2714cac8e855fe3edba2bba91b80e11b1a.zip FreeBSD-src-d68a9f2714cac8e855fe3edba2bba91b80e11b1a.tar.gz |
Oops, don't toss the last character read during an SMIC transaction with
at least 1 data byte beyond the completion code.
Tested by: Terry Kennedy <terry at tmk dot com>
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ipmi/ipmi_smic.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/ipmi/ipmi_smic.c b/sys/dev/ipmi/ipmi_smic.c index bdffd1c..a0cf6b2 100644 --- a/sys/dev/ipmi/ipmi_smic.c +++ b/sys/dev/ipmi/ipmi_smic.c @@ -293,8 +293,6 @@ smic_polled_request(struct ipmi_softc *sc, struct ipmi_request *req) state = smic_read_byte(sc, &data); if (state == 0) return (0); - if (state == 2) - break; if (i < req->ir_replybuflen) req->ir_reply[i] = data; i++; |