mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
bluez5: fix ofono transport acquire
This commit is contained in:
parent
b7a1f11842
commit
eb9b787db1
1 changed files with 1 additions and 1 deletions
|
|
@ -193,7 +193,7 @@ static int ofono_audio_acquire(void *data, bool optional)
|
|||
uint8_t codec;
|
||||
int ret = 0;
|
||||
|
||||
if (transport->fd)
|
||||
if (transport->fd >= 0)
|
||||
goto finish;
|
||||
|
||||
ret = _audio_acquire(backend, transport->path, &codec);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue