Diff between 552d63be309a49fd358f451a4cb68a51184bdbed and 372af4308999ea004b56493a9a7b0a0018f74629
Changed Files
| File | Additions | Deletions | Status |
| attrib/gatt-service.c | +4 | -0 | modified |
Full Patch
diff --git a/attrib/gatt-service.c b/attrib/gatt-service.c
index 874552b..f592a70 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);
}