commit | 6d85ea9c556be7b49302d2f35f4ebc99b4827366 | [log] [tgz] |
---|---|---|
author | Jens Gulin <jens.gulin@sonyericsson.com> | Tue Jun 22 22:21:57 2010 +0200 |
committer | Johan Redestig <johan.redestig@sonyericsson.com> | Mon Jun 28 11:36:14 2010 +0200 |
tree | 6a16cb589b047fc09dbd554cd87eb065acb9447d | |
parent | dd1880ee5bea09e9d37c6db29ef20e49d619c094 [diff] |
Keep track of remaining fd when devices are removed Sometimes the wrong fd was accessed when the device was addressed by device id. The earlier implementation assumed that two arrays were in sync but one of them was compacted when devices were removed. Instead of that dependency the device now keeps track of it's file descriptor. Change-Id: I2b8a793d76b89ab464ae830482b309fe86031671