Re: [PATCH v2 4/4] Bluetooth: Add __hci_cmd_sync_ev function

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

 



Hi Johan,

> This patch adds a __hci_cmd_sync_ev function, analogous to
> __hci_cmd_sync except that it also takes an event parameter to indicate
> that the command completes with a special event instead of command
> complete. Internally this new function takes advantage of the
> hci_req_add_ev function introduced in the previous patch.
> 
> The primary expected user of this new function are the setup routines of
> HCI drivers which may want to send custom commands and return only when
> they have completed.
> 
> Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx>
> ---
> include/net/bluetooth/hci_core.h |    2 ++
> net/bluetooth/hci_core.c         |   22 +++++++++++++++++-----
> 2 files changed, 19 insertions(+), 5 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