diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2012-02-28 05:17:26 +0100 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-03-01 22:55:58 +0100 |
commit | 6a919082e9b82a0de20f1248a33f3b3f005cebaf (patch) | |
tree | 0784dda7a89db37c0c185bb1bf7c9e94a7db8c53 /net/rxrpc/ar-output.c | |
parent | Bluetooth: mgmt: Refactor hci_dev lookup for commands (diff) | |
download | linux-6a919082e9b82a0de20f1248a33f3b3f005cebaf.tar.xz linux-6a919082e9b82a0de20f1248a33f3b3f005cebaf.zip |
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 <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/rxrpc/ar-output.c')
0 files changed, 0 insertions, 0 deletions