diff options
author | Claudia Draghicescu <claudia.rosu@nxp.com> | 2023-05-10 16:45:57 +0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2023-08-11 11:31:23 -0700 |
commit | ae75336131337f926d61b7fd86a0cca3146a7620 (patch) | |
tree | f9cf6fc2d5197fac4f0ed6f781fc26620adb3e00 /net/bluetooth/mgmt.c | |
parent | 80f9ad046052509d0eee9b72e11d0e8ae31b665f (diff) | |
download | lwn-ae75336131337f926d61b7fd86a0cca3146a7620.tar.gz lwn-ae75336131337f926d61b7fd86a0cca3146a7620.zip |
Bluetooth: Check for ISO support in controller
This patch checks for ISO_BROADCASTER and ISO_SYNC_RECEIVER in
controller.
Signed-off-by: Claudia Draghicescu <claudia.rosu@nxp.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'net/bluetooth/mgmt.c')
-rw-r--r-- | net/bluetooth/mgmt.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c index d4498037fadc..4c352abe063b 100644 --- a/net/bluetooth/mgmt.c +++ b/net/bluetooth/mgmt.c @@ -944,6 +944,12 @@ static u32 get_current_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; + return settings; } |