|
@@ -267,7 +267,7 @@ static void smp_failure(struct l2cap_conn *conn, u8 reason, u8 send)
|
|
|
|
|
|
clear_bit(HCI_CONN_ENCRYPT_PEND, &conn->hcon->flags);
|
|
clear_bit(HCI_CONN_ENCRYPT_PEND, &conn->hcon->flags);
|
|
mgmt_auth_failed(conn->hcon->hdev, conn->dst, hcon->type,
|
|
mgmt_auth_failed(conn->hcon->hdev, conn->dst, hcon->type,
|
|
- hcon->dst_type, reason);
|
|
|
|
|
|
+ hcon->dst_type, HCI_ERROR_AUTH_FAILURE);
|
|
|
|
|
|
cancel_delayed_work_sync(&conn->security_timer);
|
|
cancel_delayed_work_sync(&conn->security_timer);
|
|
|
|
|