Diff between 83630251beb6dbd50dd171a9d9040356bf9bc577 and 9d2f3c94d66fc50b0ba948db04a78ab697d6edd1

Changed Files

File Additions Deletions Status
audio/avdtp.c +2 -3 modified

Full Patch

diff --git a/audio/avdtp.c b/audio/avdtp.c
index eb56c7c..041abc3 100644
--- a/audio/avdtp.c
+++ b/audio/avdtp.c
@@ -1795,9 +1795,8 @@ static gboolean avdtp_start_cmd(struct avdtp *session, uint8_t transaction,
 
 		stream = sep->stream;
 
-		/* Also reject start cmd if we already initiated start */
-		if (sep->state != AVDTP_STATE_OPEN ||
-						stream->starting == TRUE) {
+		/* Also reject start cmd if state is not open */
+		if (sep->state != AVDTP_STATE_OPEN) {
 			err = AVDTP_BAD_STATE;
 			goto failed;
 		}