summaryrefslogtreecommitdiff
path: root/attrib
diff options
context:
space:
mode:
Diffstat (limited to 'attrib')
-rw-r--r--attrib/gatt-service.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/attrib/gatt-service.c b/attrib/gatt-service.c
index 874552bc5..f592a70a2 100644
--- a/attrib/gatt-service.c
+++ b/attrib/gatt-service.c
@@ -118,6 +118,10 @@ static GSList *parse_opts(gatt_option opt1, va_list args)
case GATT_OPT_CHR_AUTHORIZATION:
info->authorization = va_arg(args, gatt_option);
break;
+ case GATT_CHR_VALUE_READ:
+ case GATT_CHR_VALUE_WRITE:
+ case GATT_CHR_VALUE_BOTH:
+ case GATT_OPT_INVALID:
default:
error("Invalid option: %d", opt);
}