|
@@ -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);
|
|
|
|