diff options
| author | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2007-05-10 13:57:15 +0000 | 
|---|---|---|
| committer | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2007-05-10 13:57:15 +0000 | 
| commit | cc7ee42ddf28a602f3160fa024da36104eb925d1 (patch) | |
| tree | 23cc4cf50564aa0aed8aea885f2a892456fec5ef /input/device.c | |
| parent | e26377ac2dec7905881b1c062795b7057de91c18 (diff) | |
input: skip auth/encrypt if the link is not available and allow connections
Diffstat (limited to 'input/device.c')
| -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 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;  | 
