commit | 88b94ce925cb103851f39bfa7e23e09823573d30 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Tue Mar 17 13:48:49 2015 +0200 |
committer | Marcel Holtmann <marcel@holtmann.org> | Tue Mar 17 18:03:08 2015 +0100 |
tree | c73d6a6d81e9177a8353a821c4eeb8891f11879c | |
parent | a380b6cff1a2d2139772e88219d08330f84d0381 [diff] |
Bluetooth: Add hdev_init callback for HCI channels In order to make the mgmt command handling more generic we can't have a direct call to mgmt_init_hdev() from mgmt_control(). This patch adds a new callback to struct hci_mgmt_chan. And sets it to point to the mgmt_init_hdev() function for the HCI_CHANNEL_CONTROL instance. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>