From: Johan Hedberg Date: Fri, 15 Mar 2013 22:06:53 +0000 (-0500) Subject: Bluetooth: Wait for HCI command completion with mgmt_set_powered X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~170^2^2~116^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=229ab39caf8c1321527e408725c1350f7c9aaa84;p=pandora-kernel.git Bluetooth: Wait for HCI command completion with mgmt_set_powered We should only notify user space that the adapter has been powered on after all HCI commands related to the action have completed. This patch fixes the issue by instating an async request complete callback for these HCI commands and only notifies user space in the callback. Signed-off-by: Johan Hedberg Acked-by: Marcel Holtmann Signed-off-by: Gustavo Padovan --- Reading git-diff-tree failed