Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 306838
b: refs/heads/master
c: 5811537
h: refs/heads/master
v: v3
  • Loading branch information
Andrei Emeltchenko authored and Gustavo Padovan committed May 9, 2012
1 parent c7da3ca commit c0d013f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: eb55ef07a211eea95088eb0e6cdbd53cd65d9755
refs/heads/master: 58115373e74c7ee18d0f54f00831649a6471a899
2 changes: 1 addition & 1 deletion trunk/include/net/bluetooth/smp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion trunk/net/bluetooth/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit c0d013f

Please sign in to comment.