From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx> When AVCTP session was created uinput was zero which is valid file descriptor and that was conflicting with socketpair() fds. --- android/avctp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/android/avctp.c b/android/avctp.c index 1e414d1..9bfb191 100644 --- a/android/avctp.c +++ b/android/avctp.c @@ -1414,6 +1414,7 @@ struct avctp *avctp_new(int fd, size_t imtu, size_t omtu, uint16_t version) return NULL; } + session->uinput = -1; session->control = control; session->passthrough_id = avctp_register_pdu_handler(session, AVC_OP_PASSTHROUGH, -- 1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html