bluetooth: Fix check if transport exists before acquire
authorMikel Astiz <mikel.astiz@bmw-carit.de>
Fri, 31 Aug 2012 10:50:59 +0000 (12:50 +0200)
committerJaska Uimonen <jaska.uimonen@intel.com>
Mon, 10 Dec 2012 20:43:57 +0000 (22:43 +0200)
commitd5d3d4053596404ca3fe638035d3828c88bc7a0b
tree6a02d52f714cd811915df96664e90800e1eb198e
parentbfc7175a09b8301bef006de3521ed20ff6d2e318
bluetooth: Fix check if transport exists before acquire

The transport might have disapeared exactly before acquiring, so we
should avoid an assertion failure, in this case inside the function
pa_bluetooth_discovery_get_by_path().
src/modules/bluetooth/module-bluetooth-device.c