bluez5: cleanup bluez5.bcast_source.config parsing

Also fix doc.
This commit is contained in:
Pauli Virtanen 2024-05-10 20:15:18 +03:00 committed by Wim Taymans
parent 44d96ed4b9
commit 345131475c
3 changed files with 106 additions and 107 deletions

View file

@ -1174,7 +1174,7 @@ static int codec_get_bis_config(const struct media_codec *codec, uint8_t *caps,
return -EINVAL;
SPA_FOR_EACH_ELEMENT_VAR(bap_bcast_qos_configs, c) {
if (strcmp(c->name, preset) == 0) {
if (spa_streq(c->name, preset)) {
preset_found = true;
break;
}