From: Johan Hedberg Date: Tue, 28 Feb 2012 04:17:26 +0000 (+0200) Subject: Bluetooth: mgmt: Initialize HCI_MGMT flag for any command X-Git-Tag: v3.4-rc1~177^2~112^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a919082e9b82a0de20f1248a33f3b3f005cebaf;p=pandora-kernel.git Bluetooth: mgmt: Initialize HCI_MGMT flag for any command The read_controller_info is typically the first command that user space sends when taking a controller into use. This is also the reason why this command has been used as the trigger to set the HCI_MGMT flag. However, when not running the user-space daemon and using command line tools it is possible that read_controller_info is not the first controller specific command. This patch moves the HCI_MGMT initialization to a generic place where it will be set for whatever happens to be the first mgmt command targetting a specific controller. Signed-off-by: Johan Hedberg Acked-by: Marcel Holtmann --- Reading git-diff-tree failed