aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/firewire
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/firewire')
-rw-r--r--sys/dev/firewire/fwdev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/firewire/fwdev.c b/sys/dev/firewire/fwdev.c
index 9e4673e3ddbff..02b927e962237 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? */