From: Johan Hedberg Date: Wed, 3 Apr 2013 18:54:47 +0000 (+0300) Subject: Bluetooth: Add __hci_cmd_sync_ev function X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~43^2^2~62^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b1abbbed0f2a1bc19bb8c0d48a284466043092a;p=pandora-kernel.git Bluetooth: Add __hci_cmd_sync_ev function This patch adds a __hci_cmd_sync_ev function, analogous to __hci_cmd_sync except that it also takes an event parameter to indicate that the command completes with a special event instead of command complete. Internally this new function takes advantage of the hci_req_add_ev function introduced in the previous patch. The primary expected user of this new function are the setup routines of HCI drivers which may want to send custom commands and return only when they have completed. Signed-off-by: Johan Hedberg Acked-by: Marcel Holtmann --- Reading git-diff-tree failed