Bluetooth: Add generic mgmt helper API
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 17 Mar 2015 11:48:48 +0000 (13:48 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 17 Mar 2015 17:03:08 +0000 (18:03 +0100)
commita380b6cff1a2d2139772e88219d08330f84d0381
tree317197dc2c305b15292e6498de643fa379089165
parent333ae95d054519f64303f0e149b4b9653cc4635b
Bluetooth: Add generic mgmt helper API

There are several mgmt protocol features that will be needed by more
than just the current HCI_CHANNEL_CONTROL. These include sending generic
events as well as handling pending commands. This patch moves these
functions out from mgmt.c to a new mgmt_util.c file.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/Makefile
net/bluetooth/mgmt.c
net/bluetooth/mgmt_util.c [new file with mode: 0644]
net/bluetooth/mgmt_util.h [new file with mode: 0644]