aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/hci_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/bluetooth/hci_core.h')
-rw-r--r--include/net/bluetooth/hci_core.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index 3e7e5110f298..89f4e3c8a097 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -1017,8 +1017,7 @@ void hci_conn_del_sysfs(struct hci_conn *conn);
1017 1017
1018#define hdev_is_powered(hdev) (test_bit(HCI_UP, &hdev->flags) && \ 1018#define hdev_is_powered(hdev) (test_bit(HCI_UP, &hdev->flags) && \
1019 !test_bit(HCI_AUTO_OFF, &hdev->dev_flags)) 1019 !test_bit(HCI_AUTO_OFF, &hdev->dev_flags))
1020#define bredr_sc_enabled(dev) ((lmp_sc_capable(dev) || \ 1020#define bredr_sc_enabled(dev) (lmp_sc_capable(dev) && \
1021 test_bit(HCI_FORCE_SC, &(dev)->dbg_flags)) && \
1022 test_bit(HCI_SC_ENABLED, &(dev)->dev_flags)) 1021 test_bit(HCI_SC_ENABLED, &(dev)->dev_flags))
1023 1022
1024/* ----- HCI protocols ----- */ 1023/* ----- HCI protocols ----- */