struct pending_op *op;
#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
- op = pending_write_new(device, NULL, attrib, id, value, len, 0, 0,
+ op = pending_write_new(device, chrc->pending_writes, attrib, id, value, len, 0, 0,
#else
- op = pending_write_new(device, NULL, attrib, id, value, len, 0,
+ op = pending_write_new(device, chrc->pending_writes, attrib, id, value, len, 0,
#endif
link_type, false, false);
if (g_dbus_proxy_get_property(chrc->proxy, "NotifyAcquired", &iter)) {
op->data.iov_base = (void *) chrc;
op->data.iov_len = sizeof(chrc);
+ op->owner_queue = chrc->pending_writes;
if (g_dbus_proxy_method_call(chrc->proxy, "AcquireNotify",
acquire_notify_setup,
acquire_notify_reply,