Diff between 129b19166304d40073a424d8b9ac28d3802b52f7 and 9b29784717f4682ca527c76c81b5ba92ba00c313

Changed Files

File Additions Deletions Status
src/gatt-database.c +3 -0 modified

Full Patch

diff --git a/src/gatt-database.c b/src/gatt-database.c
index 7ca2f94..d028ce0 100644
--- a/src/gatt-database.c
+++ b/src/gatt-database.c
@@ -2248,6 +2248,9 @@ static uint8_t dbus_error_to_att_ecode(const char *name, const char *msg,
 	if (strcmp(name, ERROR_INTERFACE ".InProgress") == 0)
 		return BT_ERROR_ALREADY_IN_PROGRESS;
 
+	if (strcmp(name, ERROR_INTERFACE ".ImproperlyConfigured"))
+		return BT_ERROR_CCC_IMPROPERLY_CONFIGURED;
+
 	if (strcmp(name, ERROR_INTERFACE ".NotPermitted") == 0)
 		return perm_err;