commit | bf159447537ed234afb569f91f5fd8c54ffa4c36 | [log] [tgz] |
---|---|---|
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | Tue Dec 16 17:06:01 2014 -0500 |
committer | Jiri Kosina <jkosina@suse.cz> | Wed Dec 17 09:08:26 2014 +0100 |
tree | df66b1dbbe170e05933876378310073b94255640 | |
parent | e529fea919872c6568bbda7873c64ac5d807ee83 [diff] |
HID: logitech-hidpp: bail out if wtp_connect fails If wtp_connect() fails, that means most of the time that the device has been disconnected. Subsequent attempts to contact the device will fail too, so it's simpler to bail out earlier. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Reviewed-by: Peter Wu <peter@lekensteyn.nl> Signed-off-by: Jiri Kosina <jkosina@suse.cz>