summaryrefslogtreecommitdiffstats
path: root/sys/dev/firewire/firewire.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/firewire/firewire.c')
-rw-r--r--sys/dev/firewire/firewire.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/firewire/firewire.c b/sys/dev/firewire/firewire.c
index c376751f..ba660da 100644
--- a/sys/dev/firewire/firewire.c
+++ b/sys/dev/firewire/firewire.c
@@ -1706,7 +1706,7 @@ fw_rcv_copy(struct fw_rcv_buf *rb)
struct tcode_info *tinfo;
u_int res, i, len, plen;
- rb->xfer->recv.spd -= rb->spd;
+ rb->xfer->recv.spd = rb->spd;
pkt = (struct fw_pkt *)rb->vec->iov_base;
tinfo = &rb->fc->tcode[pkt->mode.hdr.tcode];
OpenPOWER on IntegriCloud