Commit 348240e5 authored by Pauli Virtanen's avatar Pauli Virtanen Committed by Luiz Augusto von Dentz
Browse files

Bluetooth: MGMT: report BIS capability flags in supported settings



MGMT_SETTING_ISO_BROADCASTER and MGMT_SETTING_ISO_RECEIVER flags are
missing from supported_settings although they are in current_settings.

Report them also in supported_settings to be consistent.

Fixes: ae753361 ("Bluetooth: Check for ISO support in controller")
Signed-off-by: default avatarPauli Virtanen <pav@iki.fi>
Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
parent 7b8e9264
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -849,6 +849,12 @@ static u32 get_supported_settings(struct hci_dev *hdev)
	if (cis_peripheral_capable(hdev))
		settings |= MGMT_SETTING_CIS_PERIPHERAL;

	if (bis_capable(hdev))
		settings |= MGMT_SETTING_ISO_BROADCASTER;

	if (sync_recv_capable(hdev))
		settings |= MGMT_SETTING_ISO_SYNC_RECEIVER;

	if (ll_privacy_capable(hdev))
		settings |= MGMT_SETTING_LL_PRIVACY;