diff --git a/src/modules/bluetooth/module-bluetooth-device.c b/src/modules/bluetooth/module-bluetooth-device.c index 51ee92f23..7a7ccff08 100644 --- a/src/modules/bluetooth/module-bluetooth-device.c +++ b/src/modules/bluetooth/module-bluetooth-device.c @@ -327,6 +327,11 @@ static int bt_transport_acquire(struct userdata *u, pa_bool_t start) { const char *accesstype = "rw"; const pa_bluetooth_transport *t; + if (u->transport == NULL) { + pa_log("Transport no longer available."); + return -1; + } + if (bt_transport_is_acquired(u)) { if (start) goto done;