diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2007-08-15 23:22:58 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2007-08-15 23:22:58 +0000 |
commit | 5d2db7ef22c2fd0971f24f759b039f8a891447fa (patch) | |
tree | 283a04ecb3c6a652ab3f13fec4cc71c80063b48c /audio | |
parent | 1addff77624b54445c9b81779ddc78892a126a45 (diff) |
According to spec. OPEN state is entered before calling suspend_cfm
Diffstat (limited to 'audio')
-rw-r--r-- | audio/avdtp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/avdtp.c b/audio/avdtp.c index bc9081a4..eb00f8bb 100644 --- a/audio/avdtp.c +++ b/audio/avdtp.c @@ -1712,11 +1712,11 @@ static gboolean avdtp_suspend_resp(struct avdtp *session, { struct avdtp_local_sep *sep = stream->lsep; + avdtp_sep_set_state(session, sep, AVDTP_STATE_OPEN); + if (sep->cfm && sep->cfm->suspend) sep->cfm->suspend(session, sep, stream); - avdtp_sep_set_state(session, sep, AVDTP_STATE_OPEN); - return TRUE; } |