From 4a0caac05bd9ee2b9f55b1c9c9360230128afa6b Mon Sep 17 00:00:00 2001 From: aeb Date: Wed, 21 Mar 2001 02:00:03 +0000 Subject: [PATCH] Store returned generation count after setting of port. git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@57 53a565d1-3bb7-0310-b661-cf11e63c67ab --- src/main.c | 1 + 1 file changed, 1 insertion(+) 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;