drivers/nble: Call right function in bt_conn_auth_cancel()

Change-Id: I9e8ced163b95acbcb1835ed4b0de4fd110a2bd54
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
Andrei Emeltchenko 2016-05-30 15:17:33 +03:00 committed by Johan Hedberg
parent c42ea24886
commit 47d104530c
2 changed files with 4 additions and 1 deletions

View file

@ -374,7 +374,9 @@ int bt_conn_auth_passkey_entry(struct bt_conn *conn, unsigned int passkey)
int bt_conn_auth_cancel(struct bt_conn *conn)
{
return -ENOSYS;
BT_DBG("");
return bt_smp_auth_cancel(conn);
}
int bt_conn_auth_passkey_confirm(struct bt_conn *conn)

View file

@ -18,5 +18,6 @@ void bt_smp_connected(struct bt_conn *conn);
void bt_smp_disconnected(struct bt_conn *conn);
int bt_smp_init(void);
int bt_smp_auth_cancel(struct bt_conn *conn);
int bt_smp_auth_pairing_confirm(struct bt_conn *conn);
int bt_smp_auth_passkey_entry(struct bt_conn *conn, unsigned int passkey);