diff options
Diffstat (limited to 'net/bluetooth/mgmt.c')
-rw-r--r-- | net/bluetooth/mgmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c index 6dd015277f0d..f69dbcb8a707 100644 --- a/net/bluetooth/mgmt.c +++ b/net/bluetooth/mgmt.c | |||
@@ -1035,7 +1035,7 @@ static int pin_code_neg_reply(struct sock *sk, u16 index, unsigned char *data, | |||
1035 | goto failed; | 1035 | goto failed; |
1036 | } | 1036 | } |
1037 | 1037 | ||
1038 | err = hci_send_cmd(hdev, HCI_OP_PIN_CODE_NEG_REPLY, sizeof(bdaddr_t), | 1038 | err = hci_send_cmd(hdev, HCI_OP_PIN_CODE_NEG_REPLY, sizeof(cp->bdaddr), |
1039 | &cp->bdaddr); | 1039 | &cp->bdaddr); |
1040 | if (err < 0) | 1040 | if (err < 0) |
1041 | mgmt_pending_remove(cmd); | 1041 | mgmt_pending_remove(cmd); |