diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2015-03-17 07:48:50 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-03-17 13:03:08 -0400 |
commit | fa4335d71a1408d0112c15874538f3f4e153ba01 (patch) | |
tree | f67bac624e402bc5f0ce84936d3cf9c573849355 /include/net/bluetooth | |
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>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r-- | include/net/bluetooth/hci_core.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index 93e7b2b05a17..b65c53de6a69 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h | |||
@@ -1330,9 +1330,6 @@ void hci_mgmt_chan_unregister(struct hci_mgmt_chan *c); | |||
1330 | #define DISCOV_BREDR_INQUIRY_LEN 0x08 | 1330 | #define DISCOV_BREDR_INQUIRY_LEN 0x08 |
1331 | #define DISCOV_LE_RESTART_DELAY msecs_to_jiffies(200) /* msec */ | 1331 | #define DISCOV_LE_RESTART_DELAY msecs_to_jiffies(200) /* msec */ |
1332 | 1332 | ||
1333 | int mgmt_control(struct hci_mgmt_chan *chan, struct sock *sk, | ||
1334 | struct msghdr *msg, size_t msglen); | ||
1335 | |||
1336 | int mgmt_new_settings(struct hci_dev *hdev); | 1333 | int mgmt_new_settings(struct hci_dev *hdev); |
1337 | void mgmt_index_added(struct hci_dev *hdev); | 1334 | void mgmt_index_added(struct hci_dev *hdev); |
1338 | void mgmt_index_removed(struct hci_dev *hdev); | 1335 | void mgmt_index_removed(struct hci_dev *hdev); |