Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bluetooth: PACS: Add missing break in switch for sup ctx get #85062

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions subsys/bluetooth/audio/pacs.c
Original file line number Diff line number Diff line change
Expand Up @@ -294,12 +294,14 @@ static uint16_t supported_context_get(enum bt_audio_dir dir)
if (atomic_test_bit(pacs.flags, PACS_FLAG_SNK_PAC)) {
return snk_supported_contexts | BT_AUDIO_CONTEXT_TYPE_UNSPECIFIED;
}
break;
#endif /* CONFIG_BT_PAC_SNK */
#if defined(CONFIG_BT_PAC_SRC)
case BT_AUDIO_DIR_SOURCE:
if (atomic_test_bit(pacs.flags, PACS_FLAG_SRC_PAC)) {
return src_supported_contexts | BT_AUDIO_CONTEXT_TYPE_UNSPECIFIED;
}
break;
#endif /* CONFIG_BT_PAC_SRC */
default:
break;
Expand Down
Loading