Bluetooth: Introduce HCI_DEV_OPEN and HCI_DEV_CLOSE events
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 4 Oct 2015 21:34:00 +0000 (23:34 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 5 Oct 2015 07:29:36 +0000 (10:29 +0300)
commit4a3f95b7b62e50a1e42e42ba6571ec9e747f4861
tree389fe2e01e2c50619c7fa99bea5b0420702a1f59
parented1b28a48b6c4e206bd88f5758393261710566f2
Bluetooth: Introduce HCI_DEV_OPEN and HCI_DEV_CLOSE events

When opening the HCI transport via hdev->open send HCI_DEV_OPEN event
and when closing the HCI transport via hdev->close send HCI_DEV_CLOSE.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
include/net/bluetooth/hci.h
net/bluetooth/hci_core.c