Diff between 3a916a006756aff954565f613c6163bb59dae26a and 94a49c70822db9bbad54556fcf3bdede43cce601
Changed Files
| File | Additions | Deletions | Status |
| audio/a2dp.c | +2 | -3 | modified |
Full Patch
diff --git a/audio/a2dp.c b/audio/a2dp.c
index b4ec274..f3e7af3 100644
--- a/audio/a2dp.c
+++ b/audio/a2dp.c
@@ -371,11 +371,10 @@ static void stream_state_changed(struct avdtp_stream *stream,
sep->session = NULL;
}
- if (sep->endpoint)
- media_endpoint_clear_configuration(sep->endpoint);
-
sep->stream = NULL;
+ if (sep->endpoint)
+ media_endpoint_clear_configuration(sep->endpoint);
}
static gboolean auto_config(gpointer data)