summaryrefslogtreecommitdiffstats
path: root/btif/co
diff options
context:
space:
mode:
authorMattias Agren <magren@broadcom.com>2012-04-17 14:49:03 +0200
committerMatthew Xie <mattx@google.com>2012-07-14 11:19:17 -0700
commitf06f57927f92d717497b409be7746644dbd5b2af (patch)
tree0af6785e9bd7e01e75b586de1c797fcd47752aaa /btif/co
parent05de7b425090822ed298bb23f6929f6f23255068 (diff)
downloadexternal_bluetooth_bluedroid-f06f57927f92d717497b409be7746644dbd5b2af.zip
external_bluetooth_bluedroid-f06f57927f92d717497b409be7746644dbd5b2af.tar.gz
external_bluetooth_bluedroid-f06f57927f92d717497b409be7746644dbd5b2af.tar.bz2
Resolved issue of not reinitializing callout structure correctly upon
disconnect Change-Id: Ie5d6043cabd2f52449179547eea6363739c04e0a
Diffstat (limited to 'btif/co')
-rwxr-xr-xbtif/co/bta_av_co.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/btif/co/bta_av_co.c b/btif/co/bta_av_co.c
index b37617b..cd4b9af 100755
--- a/btif/co/bta_av_co.c
+++ b/btif/co/bta_av_co.c
@@ -1411,6 +1411,8 @@ void bta_av_co_init(void)
/* Reset the control block */
memset(&bta_av_co_cb, 0, sizeof(bta_av_co_cb));
+ bta_av_co_cb.codec_cfg_setconfig.id = BTIF_AV_CODEC_NONE;
+
#if defined(BTA_AV_CO_CP_SCMS_T) && (BTA_AV_CO_CP_SCMS_T == TRUE)
bta_av_co_cp_set_flag(BTA_AV_CP_SCMS_COPY_NEVER);
#else