device: Async push_ndef returns NULL when reply is pending
authorSamuel Ortiz <sameo@linux.intel.com>
Thu, 28 Jun 2012 17:16:36 +0000 (19:16 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 28 Jun 2012 17:16:36 +0000 (19:16 +0200)
The push_cb routine will send the actual reply back.

src/device.c

index 644f8ec..e13f58e 100644 (file)
@@ -282,7 +282,7 @@ static DBusMessage *push_ndef(DBusConnection *conn,
                goto error;
        }
 
-       return g_dbus_create_reply(msg, DBUS_TYPE_INVALID);
+       return NULL;
 
 error:
        dbus_message_unref(device->push_msg);