Bluetooth: Use __le64 type for LE random numbers
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 28 Feb 2014 00:00:28 +0000 (16:00 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 28 Feb 2014 10:36:04 +0000 (12:36 +0200)
commitfe39c7b2dacf7fd4dcddc26704d01315ab92b7cb
tree9eb0ab5c8daa3432201c6e0219468cd851669b06
parenta3172b7eb4a2719711187cfca12097d2326e85a7
Bluetooth: Use __le64 type for LE random numbers

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@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
include/net/bluetooth/hci.h
include/net/bluetooth/hci_core.h
include/net/bluetooth/mgmt.h
net/bluetooth/hci_conn.c
net/bluetooth/hci_core.c
net/bluetooth/hci_event.c
net/bluetooth/mgmt.c
net/bluetooth/smp.c
net/bluetooth/smp.h