commit | ed0d1ab2864a62793ec9c0797251e11cec7e850c | [log] [tgz] |
---|---|---|
author | Johannes Carlsson <johannes.carlsson.x@sonyericsson.com> | Mon Mar 08 10:19:31 2010 +0100 |
committer | Johan Redestig <johan.redestig@sonyericsson.com> | Tue Mar 16 15:12:39 2010 +0100 |
tree | 9bca79e8754761a7d695d0c9fe3d5c707ca4a85d | |
parent | 7bb2581e6f404da0edba9ebb81b0d0593715eb40 [diff] |
Everytime Bluetooth was turned off two file descriptors were not closed Using close instead of shutdown on the file descriptors and only clear the file descriptor that was closed. If both file descriptors are cleared the thread will not be able to close it.