summaryrefslogtreecommitdiff
path: root/src/dkp-wup.c
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2008-11-11 13:38:49 +0000
committerRichard Hughes <richard@hughsie.com>2008-11-11 13:38:49 +0000
commit7a29b5118c69d2f5f6d78df1dac3bd9f238e79b1 (patch)
tree250d1ab69b2aee0522560c0a9cbff71ddb02c765 /src/dkp-wup.c
parent61fad487bace7114a9308db7106085ac128bbda1 (diff)
bugfix: match the WUP device on the tty device, not the USB device
Diffstat (limited to 'src/dkp-wup.c')
-rw-r--r--src/dkp-wup.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/dkp-wup.c b/src/dkp-wup.c
index 498c6b7..a67df81 100644
--- a/src/dkp-wup.c
+++ b/src/dkp-wup.c
@@ -375,9 +375,6 @@ dkp_wup_coldplug (DkpDevice *device)
egg_debug ("could not get device file for WUP device");
goto out;
}
- egg_debug ("wanted %s", device_file);
- device_file = g_strdup ("/dev/ttyUSB0");
- egg_debug ("opened %s", device_file);
/* connect to the device */
wup->priv->fd = open (device_file, O_RDWR | O_NONBLOCK);