mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
bluez5: Fix return status for parse_qos_settings
This commit is contained in:
parent
e9dae61cca
commit
3140ede326
1 changed files with 3 additions and 1 deletions
|
|
@ -485,6 +485,7 @@ static bool select_bap_qos(struct bap_qos *conf,
|
|||
unsigned int duration_mask, uint16_t framelen_min,
|
||||
uint16_t framelen_max)
|
||||
{
|
||||
bool found = false;
|
||||
conf->name = NULL;
|
||||
conf->priority = 0;
|
||||
|
||||
|
|
@ -518,9 +519,10 @@ static bool select_bap_qos(struct bap_qos *conf,
|
|||
continue;
|
||||
|
||||
*conf = c;
|
||||
found = true;
|
||||
}
|
||||
|
||||
return conf->name;
|
||||
return found;
|
||||
}
|
||||
|
||||
static int select_channels(uint8_t channel_counts, uint32_t locations, uint32_t channel_allocation,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue