Re: [PATCH 2/5] Bluetooth: mgmt: Initialize HCI_MGMT flag for any command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Johan,

> 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@xxxxxxxxx>
> ---
>  net/bluetooth/mgmt.c |   10 ++++++----
>  1 files changed, 6 insertions(+), 4 deletions(-)

Acked-by: Marcel Holtmann <marcel@xxxxxxxxxxxx>

Regards

Marcel


--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux