Bluetooth: Track received events in hdev
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 2 Apr 2013 10:34:31 +0000 (13:34 +0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 4 Apr 2013 16:16:04 +0000 (19:16 +0300)
commitb6ddb638235d90ed67af9af40e63880fd66a1939
treeacb90fd3ac15d2e879a2f1df5a5992b9c3d40afd
parent1687dfc3dcecd7f22f60461b562b9ae3171eb93e
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>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_core.c
net/bluetooth/hci_event.c