summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2013-04-02 13:34:31 +0300
committerJohan Hedberg <johan.hedberg@intel.com>2013-04-04 19:16:04 +0300
commitb6ddb638235d90ed67af9af40e63880fd66a1939 (patch)
treeacb90fd3ac15d2e879a2f1df5a5992b9c3d40afd /include/net
parent1687dfc3dcecd7f22f60461b562b9ae3171eb93e (diff)
downloadlinux-0-day-b6ddb638235d90ed67af9af40e63880fd66a1939.tar.gz
linux-0-day-b6ddb638235d90ed67af9af40e63880fd66a1939.tar.xz
Bluetooth: Track received events in hdev
This patch adds tracking of received HCI events to the hci_dev struct. This is necessary so that a subsequent patch can implement a function for sending a single command synchronously and returning the resulting command complete parameters in the function return value. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net')
-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 0e7ee892d7aba..89eda2ef23809 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -244,6 +244,7 @@ struct hci_dev {
struct sk_buff_head raw_q;
struct sk_buff_head cmd_q;
+ struct sk_buff *recv_evt;
struct sk_buff *sent_cmd;
struct sk_buff *reassembly[NUM_REASSEMBLY];