diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-05-16 09:30:18 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-05-16 09:30:18 +0000 |
commit | 4de66ff306262950a6da54399cef89a9134247f0 (patch) | |
tree | fd4a9ee55c32b31df7403522a18d25f19acb05f2 | |
parent | dcada8eed787ddcca19634f5a71a4dd0a2dc1856 (diff) |
Use EACCES instead of ENOKEY
-rw-r--r-- | input/device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/input/device.c b/input/device.c index aa0689d0..1794cf58 100644 --- a/input/device.c +++ b/input/device.c @@ -530,7 +530,7 @@ static int hidp_connadd(bdaddr_t *src, bdaddr_t *dst, if (req.subclass & 0x40) { err = encrypt_link(src, dst); - if (err < 0 && err != -ENOKEY) + if (err < 0 && err != -EACCES) goto cleanup; } |