commit | fa4335d71a1408d0112c15874538f3f4e153ba01 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Tue Mar 17 13:48:50 2015 +0200 |
committer | Marcel Holtmann <marcel@holtmann.org> | Tue Mar 17 18:03:08 2015 +0100 |
tree | f67bac624e402bc5f0ce84936d3cf9c573849355 | |
parent | 88b94ce925cb103851f39bfa7e23e09823573d30 [diff] |
Bluetooth: Move generic mgmt command dispatcher to hci_sock.c The mgmt.c file should be reserved purely for HCI_CHANNEL_CONTROL. The mgmt_control() function in it is already completely generic and has a single user in hci_sock.c. This patch moves the function there and renames it a bit more appropriately to hci_mgmt_cmd() (as it's a command dispatcher). Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>