Diff between 6e01436e9b09b038c358b0695548a7a2c3059bdb and 991f850c04a5f18c989c4cd85b193b0960053cde
Changed Files
| File | Additions | Deletions | Status |
| android/avdtp.c | +2 | -1 | modified |
Full Patch
diff --git a/android/avdtp.c b/android/avdtp.c
index 85ef94b..3985fb3 100644
--- a/android/avdtp.c
+++ b/android/avdtp.c
@@ -2180,7 +2180,8 @@ void avdtp_shutdown(struct avdtp *session)
for (l = session->streams; l; l = g_slist_next(l)) {
struct avdtp_stream *stream = l->data;
- if (stream->abort_int || avdtp_abort(session, stream) == 0)
+ if (stream->abort_int ||
+ avdtp_close(session, stream, TRUE) == 0)
aborting = true;
}