diff options
Diffstat (limited to 'net/bluetooth/mgmt.c')
-rw-r--r-- | net/bluetooth/mgmt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c index 2c763429686..c5da33320ae 100644 --- a/net/bluetooth/mgmt.c +++ b/net/bluetooth/mgmt.c @@ -1354,10 +1354,10 @@ static int pair_device(struct sock *sk, u16 index, unsigned char *data, u16 len) entry = hci_find_adv_entry(hdev, &cp->bdaddr); if (entry) conn = hci_connect(hdev, LE_LINK, &cp->bdaddr, sec_level, - auth_type); + auth_type, NULL); else conn = hci_connect(hdev, ACL_LINK, &cp->bdaddr, sec_level, - auth_type); + auth_type, NULL); if (IS_ERR(conn)) { err = PTR_ERR(conn); |