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:
aeb 2001-03-21 02:00:03 +00:00
parent 08e27dd37f
commit 4a0caac05b
1 changed files with 1 additions and 0 deletions

View File

@ -215,6 +215,7 @@ int raw1394_set_port(struct raw1394_handle *handle, int port)
handle->irm_id = ((req->misc >> 8) & 0xff) | 0xffc0; handle->irm_id = ((req->misc >> 8) & 0xff) | 0xffc0;
handle->local_id = req->misc >> 16; handle->local_id = req->misc >> 16;
} }
handle->generation = req->generation;
return 0; return 0;
default: default:
errno = 0; errno = 0;