usbhost api: fix dbus method call to deviced
authorPaweł Szewczyk <p.szewczyk@samsung.com>
Wed, 21 Sep 2016 12:50:36 +0000 (14:50 +0200)
committerKrzysztof Opasiak <k.opasiak@samsung.com>
Thu, 13 Apr 2017 11:21:05 +0000 (13:21 +0200)
Change-Id: If17b9f30e2301bea9558e2899f740e952b1455b1
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
libusb/os/linux_usbfs.c

index 588435b..98700eb 100644 (file)
@@ -243,7 +243,7 @@ DBusMessage *dbus_method_sync_with_reply(const char *dest, const char *path,
        }
 
        dbus_message_iter_init_append(msg, &iter);
-       dbus_message_iter_append_basic(&iter, DBUS_TYPE_STRING, &path);
+       dbus_message_iter_append_basic(&iter, DBUS_TYPE_STRING, &param);
 
        dbus_error_init(&err);