summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/hci_core.h
diff options
context:
space:
mode:
authorMarcel Holtmann2012-11-12 06:02:14 +0100
committerJohan Hedberg2013-04-04 18:16:12 +0200
commitf41c70c4d5e3f6c2a7f9e5dfc10af452591a2484 (patch)
tree3b1f92c46f4d9a8b3adc38c8be460f75cf1903ff /include/net/bluetooth/hci_core.h
parentBluetooth: Add __hci_cmd_sync_ev function (diff)
downloadkernel-qcow2-linux-f41c70c4d5e3f6c2a7f9e5dfc10af452591a2484.tar.gz
kernel-qcow2-linux-f41c70c4d5e3f6c2a7f9e5dfc10af452591a2484.tar.xz
kernel-qcow2-linux-f41c70c4d5e3f6c2a7f9e5dfc10af452591a2484.zip
Bluetooth: Add driver setup stage for early init
Some drivers require a special stage for their early init. This is always specific to the driver or transport. So call back into driver to allow bringing up the device. The advantage with this stage is that the Bluetooth core is actually handling the HCI layer now. This means that command and event processing is available. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net/bluetooth/hci_core.h')
-rw-r--r--include/net/bluetooth/hci_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index 47129b1ee20b..395e8f6982f9 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -293,6 +293,7 @@ struct hci_dev {
int (*open)(struct hci_dev *hdev);
int (*close)(struct hci_dev *hdev);
int (*flush)(struct hci_dev *hdev);
+ int (*setup)(struct hci_dev *hdev);
int (*send)(struct sk_buff *skb);
void (*notify)(struct hci_dev *hdev, unsigned int evt);
int (*ioctl)(struct hci_dev *hdev, unsigned int cmd, unsigned long arg);