From: Gowtham Anandha Babu Date: Tue, 22 Nov 2016 09:49:53 +0000 (-0800) Subject: This change is not required. C# TC needs to be changed. X-Git-Tag: submit/tizen_3.0/20161128.024738^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=43fb72d3a0d2086a262f7a29ae6a5aa3ecca1fbf;p=platform%2Fcore%2Fapi%2Fbluetooth.git This change is not required. C# TC needs to be changed. Revert "[GATT] Fix to change write_type prop of charc" This reverts commit 13d8aaeaf81732bd0504714c6da1dfb3235b05f7. Change-Id: I2e103c293e1c7ff1c5ab98db29e47e27122e2ca8 --- diff --git a/src/bluetooth-gatt.c b/src/bluetooth-gatt.c index ad02ebb..f790f01 100644 --- a/src/bluetooth-gatt.c +++ b/src/bluetooth-gatt.c @@ -2136,7 +2136,7 @@ int bt_gatt_characteristic_set_write_type(bt_gatt_h characteristic, return BT_ERROR_NOT_SUPPORTED; } - if ((chr->properties & property)) + if (!(chr->properties & property)) return BT_ERROR_NOT_SUPPORTED; chr->write_type = write_type;