]> git.karo-electronics.de Git - linux-beck.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)
commit7a00ff445f1337bbd0fbf65d3ae468dfbc7ba53e
treef8a33f07a474c98d97258a268ef6f33879da67b7
parent3b0602cd01a571177e169c594e5e52b7b740cf08
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