Diff between 3fbd76ff16d9e770021881c3bbc3b6c352c92e59 and 8c53182efc2c878d70bcd531e76ea7d777e23b67
Changed Files
| File | Additions | Deletions | Status |
| profiles/audio/avdtp.c | +1 | -1 | modified |
Full Patch
diff --git a/profiles/audio/avdtp.c b/profiles/audio/avdtp.c
index 78e7b4d..4f663d4 100644
--- a/profiles/audio/avdtp.c
+++ b/profiles/audio/avdtp.c
@@ -3481,7 +3481,7 @@ int avdtp_abort(struct avdtp *session, struct avdtp_stream *stream)
if (!stream && session->discover) {
/* Don't call cb since it being aborted */
session->discover->cb = NULL;
- finalize_discovery(session, -ECANCELED);
+ finalize_discovery(session, ECANCELED);
return -EALREADY;
}