bluetooth: Add pa_bluetooth_transport_unlink

This commit is contained in:
Luiz Augusto von Dentz 2014-09-08 12:14:43 +03:00 committed by Tanu Kaskinen
parent 4e041f7b36
commit 19180345fa
2 changed files with 5 additions and 0 deletions

View file

@ -196,6 +196,10 @@ void pa_bluetooth_transport_put(pa_bluetooth_transport *t) {
pa_bluetooth_transport_set_state(t, PA_BLUETOOTH_TRANSPORT_STATE_IDLE);
}
void pa_bluetooth_transport_unlink(pa_bluetooth_transport *t) {
pa_bluetooth_transport_set_state(t, PA_BLUETOOTH_TRANSPORT_STATE_DISCONNECTED);
}
void pa_bluetooth_transport_free(pa_bluetooth_transport *t) {
pa_assert(t);