summaryrefslogtreecommitdiffstats
path: root/src/fw-iso.c
diff options
context:
space:
mode:
authorGravatar Dan Dennedy 2008-12-07 23:02:27 -0800
committerGravatar Dan Dennedy 2008-12-07 23:02:27 -0800
commit4904ff698d4187b49b960ff54bd714ee81893ba8 (patch)
tree627500d6ddf07284ec991c8c47ac9d51fd3d9fae /src/fw-iso.c
parent[libraw1394 patch] Unify {ieee1394,fw}_bandwidth_modify() (diff)
Let fw_read_cycle_timer() use the local fd instead of requiring iso to be initialized
Signed-off-by: Dan Dennedy <dan@dennedy.org>
Diffstat (limited to '')
-rw-r--r--src/fw-iso.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fw-iso.c b/src/fw-iso.c
index 1022ebf..a696ba1 100644
--- a/src/fw-iso.c
+++ b/src/fw-iso.c
@@ -539,7 +539,7 @@ int fw_read_cycle_timer(fw_handle_t handle,
int err;
struct fw_cdev_get_cycle_timer ctr = { 0 };
- err = ioctl(handle->iso.fd, FW_CDEV_IOC_GET_CYCLE_TIMER, &ctr);
+ err = ioctl(handle->local_fd, FW_CDEV_IOC_GET_CYCLE_TIMER, &ctr);
if (!err) {
*cycle_timer = ctr.cycle_timer;
*local_time = ctr.local_time;