Parent: 23de0235824c1f29f5a0e5a915008b525af6d49e
Author: Luiz Augusto von Dentz <luiz.dentz-von@nokia.com>
Committer: Johan Hedberg <johan.hedberg@nokia.com>
Date: 2011-04-19 15:29:42
Tree: 00f81b33c6b93722ddafa006d99515ae5fdf65a2
Fix not waiting for POLLERR when disconnecting SCO To make sure the SCO link is really disconnected we should wait for POLLERR since POLLHUP does not necessarily means the link is completely disconnected just that no further data can be sent/received. Note that this depend on a fix of SCO socket shutdown in kernel to wait for disconnect confimation to then kill/destroy the socket indicating the err/reason using POLLERR.
Diffstat
| M | audio/headset.c | | | 5 | ++++- |
1 files changed, 4 insertions(+), 1 deletions(-)