diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2023-04-05 15:51:37 -0700 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2023-04-05 15:51:37 -0700 |
commit | a1b93db14da6772a299492a0c0673be70bea9ea6 (patch) | |
tree | 82bafb350916d5729be84ad746e84d05542b6bd0 /src | |
parent | 61971f026466391ca8fa563559e2fe6bd5129581 (diff) | |
download | bluez-a1b93db14da6772a299492a0c0673be70bea9ea6.tar.gz |
main.conf: Fix parsing of CSIS group
There was a typo in the group name using CSIP instead of CSIS.
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main.c b/src/main.c index 3198091fc..a64b833b5 100644 --- a/src/main.c +++ b/src/main.c @@ -177,7 +177,7 @@ static const struct group_table { { "LE", le_options }, { "Policy", policy_options }, { "GATT", gatt_options }, - { "CSIP", csip_options }, + { "CSIS", csip_options }, { "AVDTP", avdtp_options }, { "AdvMon", advmon_options }, { } @@ -1015,7 +1015,7 @@ static void parse_config(GKeyFile *config) btd_opts.gatt_channels = val; } - str = g_key_file_get_string(config, "CSIP", "SIRK", &err); + str = g_key_file_get_string(config, "CSIS", "SIRK", &err); if (err) { DBG("%s", err->message); g_clear_error(&err); @@ -1031,7 +1031,7 @@ static void parse_config(GKeyFile *config) g_free(str); } - boolean = g_key_file_get_boolean(config, "CSIP", "SIRK", &err); + boolean = g_key_file_get_boolean(config, "CSIS", "Encryption", &err); if (err) { DBG("%s", err->message); g_clear_error(&err); @@ -1041,7 +1041,7 @@ static void parse_config(GKeyFile *config) btd_opts.csis.encrypt = boolean; } - val = g_key_file_get_integer(config, "CSIP", "Size", &err); + val = g_key_file_get_integer(config, "CSIS", "Size", &err); if (err) { DBG("%s", err->message); g_clear_error(&err); @@ -1052,7 +1052,7 @@ static void parse_config(GKeyFile *config) btd_opts.csis.size = val; } - val = g_key_file_get_integer(config, "CSIP", "Rank", &err); + val = g_key_file_get_integer(config, "CSIS", "Rank", &err); if (err) { DBG("%s", err->message); g_clear_error(&err); |