Re: [PATCH 3/3] Bluetooth: Add support for Get Clock Info mgmt command

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

 



Hi Johan,

> This patch implements support for the Get Clock Information mgmt
> command. This is done by performing one or two HCI_Read_Clock commands
> and creating the response from the stored values in the hci_dev and
> hci_conn structs.
> 
> Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx>
> ---
> include/net/bluetooth/mgmt.h |  12 ++++
> net/bluetooth/mgmt.c         | 145 +++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 157 insertions(+)

patch has been applied to bluetooth-next tree.

However I replaced hci_conn_put with hci_conn_drop to get the reference counting right. Otherwise your kernel will actually oops eventually.

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