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>
Showing
- include/net/bluetooth/hci.h 2 additions, 2 deletionsinclude/net/bluetooth/hci.h
- include/net/bluetooth/hci_core.h 4 additions, 4 deletionsinclude/net/bluetooth/hci_core.h
- include/net/bluetooth/mgmt.h 1 addition, 1 deletioninclude/net/bluetooth/mgmt.h
- net/bluetooth/hci_conn.c 3 additions, 3 deletionsnet/bluetooth/hci_conn.c
- net/bluetooth/hci_core.c 6 additions, 7 deletionsnet/bluetooth/hci_core.c
- net/bluetooth/hci_event.c 1 addition, 1 deletionnet/bluetooth/hci_event.c
- net/bluetooth/mgmt.c 1 addition, 1 deletionnet/bluetooth/mgmt.c
- net/bluetooth/smp.c 10 additions, 12 deletionsnet/bluetooth/smp.c
- net/bluetooth/smp.h 1 addition, 1 deletionnet/bluetooth/smp.h
Loading
Please register or sign in to comment