]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Bluetooth: MGMT: report BIS capability flags in supported settings
authorPauli Virtanen <pav@iki.fi>
Thu, 4 Dec 2025 20:40:20 +0000 (22:40 +0200)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 19 Dec 2025 22:11:27 +0000 (17:11 -0500)
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: ae7533613133 ("Bluetooth: Check for ISO support in controller")
Signed-off-by: Pauli Virtanen <pav@iki.fi>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/mgmt.c

index c11cdef42b6f66e521c4d3adcc13610655cb412f..5be9b8c919490d2c58dbd26c9460452ce9c16f75 100644 (file)
@@ -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;