[PATCH Bluez 5/6] core: Add checking for unknown GATT options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This adds to check for unknown GATT options.
---
 src/main.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/main.c b/src/main.c
index 566a64c..2d00478 100644
--- a/src/main.c
+++ b/src/main.c
@@ -101,6 +101,11 @@ static const char * const policy_options[] = {
 	NULL
 };
 
+static const char * const gatt_options[] = {
+	"Cache",
+	NULL
+};
+
 GKeyFile *btd_get_main_conf(void)
 {
 	return main_conf;
@@ -230,6 +235,7 @@ static void check_config(GKeyFile *config)
 
 	check_options(config, "General", supported_options);
 	check_options(config, "Policy", policy_options);
+	check_options(config, "GATT", gatt_options);
 }
 
 static int get_mode(const char *str)
-- 
2.7.4



--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux