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:
parent
c42ea24886
commit
47d104530c
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue