From 85b2d114c06968ba3412d6fa0a39cb6b364101ca Mon Sep 17 00:00:00 2001 From: Hidetoshi Shimokawa Date: Tue, 22 Apr 2003 02:31:31 +0000 Subject: [PATCH] Set the local bus address in xfer->dst. Submitted by: Buzz Slye --- sys/dev/firewire/fwdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/firewire/fwdev.c b/sys/dev/firewire/fwdev.c index 9e4673e3ddb..02b927e9622 100644 --- a/sys/dev/firewire/fwdev.c +++ b/sys/dev/firewire/fwdev.c @@ -522,8 +522,8 @@ fw_ioctl (dev_t dev, u_long cmd, caddr_t data, int flag, fw_proc *td) err = EINVAL; goto error; } - xfer->dst = fwdev->dst; - fp->mode.hdr.dst = FWLOCALBUS | xfer->dst; + xfer->dst = FWLOCALBUS | fwdev->dst; + fp->mode.hdr.dst = xfer->dst; break; case FWASRESTL: /* XXX what's this? */