diff --git a/monitor/a2dp.c b/monitor/a2dp.c
index ffdcbb9..4a1d0e1 100644
--- a/monitor/a2dp.c
+++ b/monitor/a2dp.c
};
static const struct bit_desc faststream_sink_frequency_table[] = {
- { 1, "44100" },
+ /* in config buffer, there may be more frequency bits
+ * and 48kHz takes precedence over 41kHz
+ */
{ 0, "48000" },
+ { 1, "44100" },
{ }
};
l2cap_frame_get_u8(frame, &cap);
- print_field("%*cDirection: %s (0x%02x)", BASE_INDENT + 2, ' ',
- find_value_bit(cap, faststream_direction_table),
- cap);
+ /* FastStream codec is bi-directional */
+ print_field("%*cDirection: 0x%02x", BASE_INDENT + 2, ' ', cap);
+ print_value_bits(BASE_INDENT + 2, cap, faststream_direction_table);
l2cap_frame_get_u8(frame, &cap);