Bluetooth: host: remove deprecated bt_conn_security function

Remove the deprecated bt_conn_security function.
This has been deprecated in the 2.3.0 release.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
Joakim Andersson 2021-01-20 16:39:11 +01:00 committed by Anas Nashif
commit 016b580beb
2 changed files with 2 additions and 6 deletions

View file

@ -748,12 +748,6 @@ int bt_conn_set_security(struct bt_conn *conn, bt_security_t sec);
*/
bt_security_t bt_conn_get_security(struct bt_conn *conn);
static inline int __deprecated bt_conn_security(struct bt_conn *conn,
bt_security_t sec)
{
return bt_conn_set_security(conn, sec);
}
/** @brief Get encryption key size.
*
* This function gets encryption key size.