summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorNagarjuna Kristam <nkristam@nvidia.com>2012-06-06 15:10:08 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 01:08:33 -0700
commit672720358e03dd6526ac00d01fb89b49b81f4523 (patch)
treedc4a66ac6010152bb414e9f56001be85253e540d /include/net
parent8998338eafb4db5d9f7da17cb91321c377593154 (diff)
bluetooth: Re-add HCI notifier handling
Perform partial revert of 040030ef7d907107e6489b39da518bdf94136d68 (Bluetooth: Remove HCI notifier handling). HCI notifier is being used by bluetooth power management driver(bluesleep). Re-use atomic notifier chain to notify HCI events bug 999221 Change-Id: Ifbd95f7e679d3cac577785cb7a9eda5736e1fa7b Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com> Reviewed-on: http://git-master/r/106729 Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Rebase-Id: R5cafbf20e3ed375c39045fd08e29cb8fd943e64d
Diffstat (limited to 'include/net')
-rw-r--r--include/net/bluetooth/hci_core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index 7cb6d360d147..f58fdc336cb5 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -1069,6 +1069,9 @@ static inline u16 eir_append_data(u8 *eir, u16 eir_len, u8 type, u8 *data,
int hci_register_cb(struct hci_cb *hcb);
int hci_unregister_cb(struct hci_cb *hcb);
+int hci_register_notifier(struct notifier_block *nb);
+int hci_unregister_notifier(struct notifier_block *nb);
+
struct hci_request {
struct hci_dev *hdev;
struct sk_buff_head cmd_q;