bluetooth: Release transport when not available
authorMikel Astiz <mikel.astiz@bmw-carit.de>
Fri, 31 Aug 2012 10:51:07 +0000 (12:51 +0200)
committerJaska Uimonen <jaska.uimonen@intel.com>
Mon, 10 Dec 2012 20:43:58 +0000 (22:43 +0200)
commitda0e1e8a38c9047a48cc9b8f595a404e3f8241c1
tree8f5821d770ce5d2e58ede68fe4f1672201a0c15c
parent4d0038082ac061e7eab581a4d6e7d18f942cbda2
bluetooth: Release transport when not available

Handle the Playing->Connected transition gracefully by releasing the
transport and setting the sink and sources as suspended. This is
necessary since the IO thread might not encounter a HUP always.
src/modules/bluetooth/module-bluetooth-device.c