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>
Thu, 24 Jan 2013 07:29:36 +0000 (09:29 +0200)
commit3124a216b11792eddef410a3974b09991e87019a
tree2426a0c4fe3a63456c70e1017f37703c05319091
parent9dcb9a9d436c4d006810955fdad5d07a823323ba
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