summaryrefslogtreecommitdiffstats
path: root/audio/a2dp.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/a2dp.c')
-rw-r--r--audio/a2dp.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/audio/a2dp.c b/audio/a2dp.c
index fd355302..7574dbbb 100644
--- a/audio/a2dp.c
+++ b/audio/a2dp.c
@@ -188,7 +188,11 @@ static gboolean start_ind(struct avdtp *session, struct avdtp_local_sep *sep,
debug("SBC Sink: Start_Ind");
else
debug("SBC Source: Start_Ind");
- return TRUE;
+
+ /* Refuse to go into streaming state since this action should only be
+ * initiated by alsa */
+ *err = AVDTP_NOT_SUPPORTED_COMMAND;
+ return FALSE;
}
static void start_cfm(struct avdtp *session, struct avdtp_local_sep *sep,