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>
Thu, 24 Jan 2013 07:29:36 +0000 (09:29 +0200)
commit55b5cff4cdb6651cafa8fcbbcab226adaa7c07b0
treec7b313f57e625e3ddfba585c72ec6b836fc9f6c2
parent2f812240d6f1712fa52c3258d98721a433f5603a
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