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;