X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;ds=sidebyside;f=net%2Fbluetooth%2Fsmp.c;h=6fc7c4708f3e1fa6336a434ef8c63d072e262d5a;hb=1b38a3a10f2ad96a3c0130f63b7f3610bab7090d;hp=deb119875fd93aee3fa125ecfd49de66495b7786;hpb=c817eebec5971febab86d397582954bd52f403a8;p=karo-tx-linux.git diff --git a/net/bluetooth/smp.c b/net/bluetooth/smp.c index deb119875fd9..6fc7c4708f3e 100644 --- a/net/bluetooth/smp.c +++ b/net/bluetooth/smp.c @@ -956,7 +956,7 @@ int smp_distribute_keys(struct l2cap_conn *conn, __u8 force) HCI_SMP_LTK_SLAVE, 1, authenticated, enc.ltk, smp->enc_key_size, ediv, ident.rand); - ident.ediv = cpu_to_le16(ediv); + ident.ediv = ediv; smp_send_cmd(conn, SMP_CMD_MASTER_IDENT, sizeof(ident), &ident);