summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/smp.h
diff options
context:
space:
mode:
authorAndrei Emeltchenko2012-03-12 11:13:06 +0100
committerGustavo Padovan2012-05-09 05:41:30 +0200
commit58115373e74c7ee18d0f54f00831649a6471a899 (patch)
tree976c058a3f36020beb284509c98cb894345ca671 /include/net/bluetooth/smp.h
parentBluetooth: Fix broken usage of put_unaligned_le16 (diff)
downloadkernel-qcow2-linux-58115373e74c7ee18d0f54f00831649a6471a899.tar.gz
kernel-qcow2-linux-58115373e74c7ee18d0f54f00831649a6471a899.tar.xz
kernel-qcow2-linux-58115373e74c7ee18d0f54f00831649a6471a899.zip
Bluetooth: Correct ediv in SMP
ediv is already in little endian order. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net/bluetooth/smp.h')
-rw-r--r--include/net/bluetooth/smp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/bluetooth/smp.h b/include/net/bluetooth/smp.h
index 7b3acdd29134..ca356a734920 100644
--- a/include/net/bluetooth/smp.h
+++ b/include/net/bluetooth/smp.h
@@ -77,7 +77,7 @@ struct smp_cmd_encrypt_info {
#define SMP_CMD_MASTER_IDENT 0x07
struct smp_cmd_master_ident {
- __u16 ediv;
+ __le16 ediv;
__u8 rand[8];
} __packed;