Re: [RFC] Bluetooth: Use __le64 type for LE random numbers

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

 



Hi Marcel,

On Thu, Feb 27, 2014, Marcel Holtmann wrote:
> The random numbers in Bluetooth Low Energy are 64-bit numbers and should
> also be little endian since the HCI specification is little endian.
> 
> Change the whole Low Energy pairing to use __le64 instead of a byte
> array.
> 
> Signed-off-by: Marcel Holtmann <marcel@xxxxxxxxxxxx>
> ---
>  include/net/bluetooth/hci.h      |  4 ++--
>  include/net/bluetooth/hci_core.h |  8 ++++----
>  include/net/bluetooth/mgmt.h     |  2 +-
>  net/bluetooth/hci_conn.c         |  6 +++---
>  net/bluetooth/hci_core.c         | 13 ++++++-------
>  net/bluetooth/hci_event.c        |  2 +-
>  net/bluetooth/mgmt.c             |  2 +-
>  net/bluetooth/smp.c              | 22 ++++++++++------------
>  net/bluetooth/smp.h              |  2 +-
>  9 files changed, 29 insertions(+), 32 deletions(-)

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