summaryrefslogtreecommitdiff
path: root/peripheral
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2015-04-28 15:34:34 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2015-04-29 12:25:51 +0300
commitc7499543ffe26fa81bc0aa0a9676f8398a538ccd (patch)
tree5a9bf624d7b6f449d1f999980a92a1eccd414bf9 /peripheral
parent9963e6949e6f141d89f2b6e6f42319d760bebe1b (diff)
downloadbluez-c7499543ffe26fa81bc0aa0a9676f8398a538ccd.tar.gz
shared/att: Rename sec_level to security
Diffstat (limited to 'peripheral')
-rw-r--r--peripheral/gatt.c2
1 files changed, 1 insertions, 1 deletions
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) {