Skip to content

Commit 67f2464

Browse files
MarkWangChinesehenrikbrixandersen
authored andcommitted
bluetooth: a2dp: save the reconfig to stream
The reconfig's configuration is not saved to stream, fix it. Signed-off-by: Mark Wang <[email protected]>
1 parent 0963a8c commit 67f2464

File tree

1 file changed

+2
-0
lines changed
  • subsys/bluetooth/host/classic

1 file changed

+2
-0
lines changed

subsys/bluetooth/host/classic/a2dp.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,8 @@ static int a2dp_process_config_ind(struct bt_avdtp *session, struct bt_avdtp_sep
347347
err = a2dp_cb->reconfig_req(stream, &cfg, &rsp_err_code);
348348
if (err) {
349349
*errcode = rsp_err_code;
350+
} else {
351+
stream->codec_config = *cfg.codec_config;
350352
}
351353
}
352354

0 commit comments

Comments
 (0)