diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2015-04-28 15:38:34 +0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2015-04-29 12:25:55 +0300 |
commit | 91731d0208a33d0c5b27071c27f98f014adac8d2 (patch) | |
tree | d723e4326b557282a33b85fafeec85c1d1634f93 /tools/btgatt-client.c | |
parent | c7499543ffe26fa81bc0aa0a9676f8398a538ccd (diff) | |
download | bluez-91731d0208a33d0c5b27071c27f98f014adac8d2.tar.gz |
shared/gatt-client: Rename sec_level to security
Diffstat (limited to 'tools/btgatt-client.c')
-rw-r--r-- | tools/btgatt-client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/btgatt-client.c b/tools/btgatt-client.c index ee5315d4f..a49e16a94 100644 --- a/tools/btgatt-client.c +++ b/tools/btgatt-client.c @@ -1233,7 +1233,7 @@ static void cmd_set_sec_level(struct client *cli, char *cmd_str) return; } - if (!bt_gatt_client_set_sec_level(cli->gatt, level)) + if (!bt_gatt_client_set_security(cli->gatt, level)) printf("Could not set sec level\n"); else printf("Setting security level %d success\n", level); @@ -1248,7 +1248,7 @@ static void cmd_get_sec_level(struct client *cli, char *cmd_str) return; } - level = bt_gatt_client_get_sec_level(cli->gatt); + level = bt_gatt_client_get_security(cli->gatt); if (level < 0) printf("Could not set sec level\n"); else |