From: Johan Hedberg Date: Fri, 19 Dec 2014 20:26:02 +0000 (+0200) Subject: Bluetooth: Fix Add Device to wait for HCI before sending cmd_complete X-Git-Tag: fixes-v4.0-rc1~150^2~303^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a154e6f71dfd41c7b5cf96a13c83fca91e7df7f;p=pandora-kernel.git Bluetooth: Fix Add Device to wait for HCI before sending cmd_complete This patch updates the Add Device mgmt command handler to use a hci_request to wait for HCI command completion before notifying user space of the mgmt command completion. To do this we need to add an extra hci_request parameter to the hci_conn_params_set function. Since this function has no other users besides mgmt.c it's moved there as a static function. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed