]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add mgmt_send_event() helper to send to any HCI channel
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 6 Mar 2015 19:08:56 +0000 (21:08 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 6 Mar 2015 19:15:22 +0000 (20:15 +0100)
commit00df3cb14d6147b2e4abf265c6b669b237967b2b
treef8a33f07a474c98d97258a268ef6f33879da67b7
parentd24c7ae74f5700e9e98879d4a7f918db93e7a42f
Bluetooth: Add mgmt_send_event() helper to send to any HCI channel

Currently the mgmt_event() function is only capable of sending to
HCI_CHANNEL_CONTROL. To void having to change all users of it, add a new
mgmt_send_event() function that takes a channel parameter, and make the
old mgmt_event() a wrapper that passes MGMT_CHANNEL_CONTROL to it.

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