From: Mikel Astiz <redacted>
This patch series includes minor modifications that have been useful while testing the Media API for HFP use-cases.
These three patches were acked by Luiz Augusto von Dentz the 15-12-2011.
The first patch has been removed from the previous proposal, given that it doesn't really solve the underlying problem. According to Luiz (15-12-2011):
"gateway_suspend_stream as it is useless, but I think we should fix it
to work similarly to headset_suspend_stream so we properly wait until
the socket is closed before we unlock and reply, this is necessary in
order to properly synchronize switching profiles otherwise
gateway_suspend_complete maybe called without SCO being completely
disconnected. Also when a fd is passed over to another process calling
close/g_io_channel_shutdown is not enough since this only release our
reference, in this case shutdown must be called."
This issue is not tackled here.
Mikel Astiz (3):
audio: gateway_unlock together with in_use = FALSE
a2dp: return NotSupported error if no server found
audio: do not disconnect on gateway SCO failure
audio/a2dp.c | 2 +-
audio/gateway.c | 2 +-
audio/transport.c | 3 ++-
3 files changed, 4 insertions(+), 3 deletions(-)
--
1.7.6.5