Diff between 31e5b8f206791f0f96c20d9ea358208b88e44dfe and bd7d49d54aa3aa490ebdd67b3dd2317d29213d45
Changed Files
| File | Additions | Deletions | Status |
| profiles/audio/avdtp.c | +2 | -1 | modified |
Full Patch
diff --git a/profiles/audio/avdtp.c b/profiles/audio/avdtp.c
index 0a923ac..448ee27 100644
--- a/profiles/audio/avdtp.c
+++ b/profiles/audio/avdtp.c
@@ -3769,11 +3769,12 @@ int avdtp_delay_report(struct avdtp *session, struct avdtp_stream *stream,
return -EINVAL;
if (stream->lsep->state != AVDTP_STATE_CONFIGURED &&
+ stream->lsep->state != AVDTP_STATE_OPEN &&
stream->lsep->state != AVDTP_STATE_STREAMING)
return -EINVAL;
if (!stream->delay_reporting || session->version < 0x0103)
- return -EINVAL;
+ return -ENOTSUP;
stream->delay = delay;