diff options
author | Richard Hughes <richard@hughsie.com> | 2010-09-20 16:22:45 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2010-09-20 16:22:45 +0100 |
commit | 163d5fc355670722ce45893e5af60ea4bde06a82 (patch) | |
tree | 538119713f0995b7e5ce9daa7bdbf75f61bf2321 | |
parent | 53611449eefe3dd8de61be8b9e89cdf71b9d54e0 (diff) |
Do not continue to poll the serial port if there is no Watts Up Pro adaptor
-rw-r--r-- | src/linux/up-device-wup.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/linux/up-device-wup.c b/src/linux/up-device-wup.c index 73bb8e5..bf5dbb8 100644 --- a/src/linux/up-device-wup.c +++ b/src/linux/up-device-wup.c @@ -376,11 +376,7 @@ up_device_wup_coldplug (UpDevice *device) /* coldplug */ egg_debug ("coldplug"); - up_device_wup_refresh (device); - - /* hardcode true, as we'll retry later if busy */ - ret = TRUE; - + ret = up_device_wup_refresh (device); out: return ret; } |