Diff between 7ccf113f6ee086f52bd66a14fed21baf9cbefe8b and 205746176acee3cbecabd5932270ec75f732c2ff
Changed Files
| File | Additions | Deletions | Status |
| src/gatt-client.c | +3 | -3 | modified |
Full Patch
diff --git a/src/gatt-client.c b/src/gatt-client.c
index 7aab747..63358c2 100644
--- a/src/gatt-client.c
+++ b/src/gatt-client.c
@@ -926,9 +926,9 @@ static DBusMessage *characteristic_write_value(DBusConnection *conn,
supported = true;
chrc->write_id = bt_gatt_client_write_without_response(gatt,
- chrc->value_handle,
- false, value,
- value_len);
+ chrc->value_handle,
+ chrc->props & BT_GATT_CHRC_PROP_AUTH,
+ value, value_len);
if (chrc->write_id)
return dbus_message_new_method_return(msg);