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? */