Store returned generation count after setting of port.
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@57 53a565d1-3bb7-0310-b661-cf11e63c67ab
This commit is contained in:
parent
08e27dd37f
commit
4a0caac05b
|
@ -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;
|
||||
|
|
Reference in New Issue