From c7499543ffe26fa81bc0aa0a9676f8398a538ccd Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Tue, 28 Apr 2015 15:34:34 +0300 Subject: shared/att: Rename sec_level to security --- peripheral/gatt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'peripheral') diff --git a/peripheral/gatt.c b/peripheral/gatt.c index e1bf8fbff..8df62a6e6 100644 --- a/peripheral/gatt.c +++ b/peripheral/gatt.c @@ -126,7 +126,7 @@ static struct gatt_conn *gatt_conn_new(int fd) bt_att_set_close_on_unref(conn->att, true); bt_att_register_disconnect(conn->att, gatt_conn_disconnect, conn, NULL); - bt_att_set_sec_level(conn->att, BT_SECURITY_MEDIUM); + bt_att_set_security(conn->att, BT_SECURITY_MEDIUM); conn->gatt = bt_gatt_server_new(gatt_db, conn->att, mtu); if (!conn->gatt) { -- cgit v1.2.1