Commit 67f24647 authored by Mark Wang's avatar Mark Wang Committed by Henrik Brix Andersen
Browse files

bluetooth: a2dp: save the reconfig to stream

The reconfig's configuration is not saved to stream, fix it.

Signed-off-by: default avatarMark Wang <yichang.wang@nxp.com>
parent 0963a8c2
Loading
Loading
Loading
Loading
+2 −0
Changes for subsys/bluetooth/host/classic/a2dp.c: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -347,6 +347,8 @@ static int a2dp_process_config_ind(struct bt_avdtp *session, struct bt_avdtp_sep
		err = a2dp_cb->reconfig_req(stream, &cfg, &rsp_err_code);
		if (err) {
			*errcode = rsp_err_code;
		} else {
			stream->codec_config = *cfg.codec_config;
		}
	}