Diff between 26d58e7767291469ab8bee4ba4a7624f9c48687e and 6f51c94e273aadadf9dad1acf795ec0a0b39e38c
Changed Files
| File | Additions | Deletions | Status |
| android/avctp.c | +1 | -0 | modified |
Full Patch
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,