main.conf: Fix printing errors for valid options
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 7 Sep 2023 19:36:39 +0000 (12:36 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 5 Jan 2024 13:34:04 +0000 (19:04 +0530)
This fixes the following errors:

Unknown key RefreshDiscovery for group General
Unknown key Encryption for group CSIS

Fixes: https://github.com/bluez/bluez/issues/583
src/main.c

index a1f2edf19896545f2802dc6f8005f8189c464d3c..a523c0c002c83832ee61e18d9663f1824b343562 100755 (executable)
@@ -84,6 +84,7 @@ static const char *supported_options[] = {
        "Privacy",
        "JustWorksRepairing",
        "TemporaryTimeout",
+       "RefreshDiscovery",
        "Experimental",
        "KernelExperimental",
        "RemoteNameRequestRetryDelay",
@@ -154,6 +155,7 @@ static const char *gatt_options[] = {
 
 static const char *csip_options[] = {
        "SIRK",
+       "Encryption",
        "Size",
        "Rank",
        NULL