Re: [PATCH 1/3] Bluetooth: Run controller setup after external configuration

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

 



Hi Marcel,

On Sun, Jul 06, 2014, Marcel Holtmann wrote:
> When the external configuration triggers the switch to a configured
> controller, it means the setup needs to be run. Controllers that start
> out unconfigured have only run limited set of HCI commands. This is
> not enough for complete operation and thus run the setup procedure
> before announcing the new controller index.
> 
> This introduces HCI_CONFIG flag as companion to HCI_SETUP flag. The
> HCI_SETUP flag is only used once for the initial setup procedure. And
> during that procedure hdev->setup driver callback is called. With the
> new HCI_CONFIG the switch from unconfigured to configured state is
> triggering the same setup procedure just without hdev->setup. This
> is required since bringing a controller back to unconfigured state
> from configured state is possible.
> 
> Signed-off-by: Marcel Holtmann <marcel@xxxxxxxxxxxx>
> ---
>  include/net/bluetooth/hci.h |  1 +
>  net/bluetooth/hci_core.c    | 17 ++++++++++++++---
>  net/bluetooth/hci_sock.c    |  3 ++-
>  net/bluetooth/mgmt.c        | 14 ++++++++++++--
>  4 files changed, 29 insertions(+), 6 deletions(-)

All three patches have been applied to bluetooth-next. Thanks.

Johan
--
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