summaryrefslogtreecommitdiffstats
path: root/input/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'input/device.c')
-rw-r--r--input/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input/device.c b/input/device.c
index b79bbc45..d9f95c4e 100644
--- a/input/device.c
+++ b/input/device.c
@@ -557,7 +557,7 @@ static gboolean interrupt_connect_cb(GIOChannel *chan,
if (idev->hidp.subclass & 0x40) {
int ret;
ret = encrypt_link(&idev->src, &idev->dst);
- if (ret < 0) {
+ if (ret < 0 && ret != -ENOKEY) {
err = -ret;
close(ctl);
goto failed;