From: Johan Hedberg Date: Thu, 2 Apr 2015 10:41:12 +0000 (+0300) Subject: Bluetooth: Move hci_get_cmd_complete() to hci_event.c X-Git-Tag: omap-for-v4.1/fixes-rc1~141^2~69^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=757aa0b56da5d1089c55bf349fa15836dae22b6f;p=pandora-kernel.git 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 Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed