bluez5: fix device supported codec checks
bluez5: fix device supported codec checks
Make supported codec checks to use profiles, not "is-a-sink" flag, to determine which codecs can be used.
Fixes bluez5-device checking only source profiles, even when the local device is only a sink.
bluez5: minor BAP broadcast fixups
Don't try to deref NULL if adapter not found. Disable bcast reconnect in simpler way. Use adapter name as device name. Style fixes.
Fixes #3479 (closed)
Edited by P V