summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar aeb 2001-03-21 02:00:03 +0000
committerGravatar aeb 2001-03-21 02:00:03 +0000
commit4a0caac05bd9ee2b9f55b1c9c9360230128afa6b (patch)
tree93f05c17d2d7e51edb8e588fc047d9209df23a6f /src
parentInstall libraw1394.am. (diff)
Store returned generation count after setting of port.
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@57 53a565d1-3bb7-0310-b661-cf11e63c67ab
Diffstat (limited to '')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 20745c5..80c9cff 100644
--- a/src/main.c
+++ b/src/main.c
@@ -215,6 +215,7 @@ int raw1394_set_port(struct raw1394_handle *handle, int port)
handle->irm_id = ((req->misc >> 8) & 0xff) | 0xffc0;
handle->local_id = req->misc >> 16;
}
+ handle->generation = req->generation;
return 0;
default:
errno = 0;