audio: Fix audio service state 78/51478/1
authorBharat Panda <bharat.panda@samsung.com>
Tue, 10 Nov 2015 04:59:40 +0000 (10:29 +0530)
committerBharat Panda <bharat.panda@samsung.com>
Tue, 10 Nov 2015 04:59:40 +0000 (10:29 +0530)
commit721862c9110eeb08d069d79bdd8707d9192d4f92
tree0ccd2dca94036a434e1c0c5f21bfc6b6650c3527
parent7b4153fc317c1c5c5a79f1bb07cacf29c2ff6769
audio: Fix audio service state

When profile .disconnect is called the state of the service
is already set to disconnecting this is make no sense to
call btd_service_connect_complete as it will do nothing and
the state will never be updated to disconnected as it should.

git repo link:
http://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=e316a77f5a5fd4675c5b1f0da8a52fc253233054

Change-Id: I9780763b6265d27b4a6957a18fb0b352b3d72a9c
profiles/audio/sink.c
profiles/audio/source.c