Message ID | 20211115094108.24331-5-kiran.k@intel.com (mailing list archive) |
---|---|
State | Changes Requested |
Headers | show |
Series | [v1,1/5] avdtp: Add a flag in struct avdtp to control a2dp offload | expand |
Context | Check | Description |
---|---|---|
tedd_an/checkpatch | success | Checkpatch PASS |
tedd_an/gitlint | success | Gitlint PASS |
diff --git a/profiles/audio/avdtp.c b/profiles/audio/avdtp.c index d5e8c7856be3..3ee5f30967f0 100644 --- a/profiles/audio/avdtp.c +++ b/profiles/audio/avdtp.c @@ -2953,6 +2953,9 @@ static gboolean avdtp_close_resp(struct avdtp *session, avdtp_sep_set_state(session, sep, AVDTP_STATE_CLOSING); + if (session->use_offload) + avdtp_offload_close(stream); + close_stream(stream); return TRUE;