]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit730997c5a779501a21fa62ad248754a2af055d30
tree317197dc2c305b15292e6498de643fa379089165
parent2e95c9fd85dd60dcb2c2311ad7cc6b5beddced02
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]