Imported Upstream version 1.1.0
[platform/upstream/iotivity.git] / resource / csdk / connectivity / src / bt_le_adapter / linux / descriptor.c
index 7066c33..eeccd50 100644 (file)
@@ -119,7 +119,7 @@ static bool CAGattDescriptorInitialize(CAGattCharacteristic * c,
                                 g_variant_new_bytestring(value));
 
     // Readable, no encryption, no authorization.
-    static char const * flags[] = { "read", NULL };
+    static char const * const flags[] = { "read", NULL };
     gatt_descriptor1_set_flags(d->descriptor, flags);
 
     /*