summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-11-12 14:02:14 +0900
committerJohan Hedberg <johan.hedberg@intel.com>2013-04-04 19:16:12 +0300
commitf41c70c4d5e3f6c2a7f9e5dfc10af452591a2484 (patch)
tree3b1f92c46f4d9a8b3adc38c8be460f75cf1903ff /include
parent7b1abbbed0f2a1bc19bb8c0d48a284466043092a (diff)
downloadlinux-3.10-f41c70c4d5e3f6c2a7f9e5dfc10af452591a2484.tar.gz
linux-3.10-f41c70c4d5e3f6c2a7f9e5dfc10af452591a2484.tar.bz2
linux-3.10-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')
-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 47129b1ee20..395e8f6982f 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);