|
@@ -422,6 +422,10 @@ static int tk_request(struct l2cap_conn *conn, u8 remote_oob, u8 auth,
|
|
|
if (method == REQ_PASSKEY)
|
|
|
ret = mgmt_user_passkey_request(hcon->hdev, &hcon->dst,
|
|
|
hcon->type, hcon->dst_type);
|
|
|
+ else if (method == JUST_CFM)
|
|
|
+ ret = mgmt_user_confirm_request(hcon->hdev, &hcon->dst,
|
|
|
+ hcon->type, hcon->dst_type,
|
|
|
+ passkey, 1);
|
|
|
else
|
|
|
ret = mgmt_user_passkey_notify(hcon->hdev, &hcon->dst,
|
|
|
hcon->type, hcon->dst_type,
|