diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2015-04-02 10:41:12 (GMT) |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-04-02 14:09:28 (GMT) |
commit | 757aa0b56da5d1089c55bf349fa15836dae22b6f (patch) | |
tree | 7d5b7dd93801eaac90f3c8323ebf1a033349db6e /arch/mn10300 | |
parent | abe66a4d036933c7376b40b0d7bb5de0458331aa (diff) | |
download | linux-757aa0b56da5d1089c55bf349fa15836dae22b6f.tar.xz |
Bluetooth: Move hci_get_cmd_complete() to hci_event.c
To make the hci_req_run_skb() API consistent with hci_cmd_sync_ev()
the callback should receive the cmd_complete parameters in the 'normal'
case and the full HCI event if a special event was expected. This patch
moves the hci_get_cmd_complete() function from hci_core.c to hci_event.c
where it's used to strip the skb from the needed headers before passing
it on to the callback.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'arch/mn10300')
0 files changed, 0 insertions, 0 deletions