Diff between 4963a4c6aed7610da3f6c5a69c5fadc51ceaafc4 and ad5da41d57c3d4dff595e151521f39ff7812a264
Changed Files
| File | Additions | Deletions | Status |
| profiles/input/device.c | +0 | -7 | modified |
Full Patch
diff --git a/profiles/input/device.c b/profiles/input/device.c
index 9cea028..7655534 100644
--- a/profiles/input/device.c
+++ b/profiles/input/device.c
@@ -276,18 +276,11 @@ static void encrypt_completed(uint8_t status, gpointer user_data)
struct hidp_connadd_req *req = user_data;
int err;
- if (status) {
- error("Encryption failed: %s(0x%x)",
- strerror(bt_error(status)), status);
- goto failed;
- }
-
err = ioctl_connadd(req);
if (err == 0)
goto cleanup;
error("ioctl_connadd(): %s(%d)", strerror(-err), -err);
-failed:
close(req->intr_sock);
close(req->ctrl_sock);