Re: [PATCH v2] Fix not waiting for POLLERR when disconnecting SCO

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Luiz,

On Tue, Apr 19, 2011, Luiz Augusto von Dentz wrote:
> 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.
> ---
>  audio/headset.c |    5 ++++-
>  1 files changed, 4 insertions(+), 1 deletions(-)

Pushed upstream. Thanks.

Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux