OSDN Git Service

Support for A2DP Sink and Proper initialization of profiles
[android-x86/system-bt.git] / stack / avdt / avdt_scb.c
index 6e73c2e..f7d3c9c 100644 (file)
@@ -599,12 +599,6 @@ tAVDT_SCB *avdt_scb_alloc(tAVDT_CS *p_cs)
             p_scb->allocated = TRUE;
             p_scb->p_ccb = NULL;
 
-            /* initialize sink as activated */
-            if (p_cs->tsep == AVDT_TSEP_SNK)
-            {
-                p_scb->sink_activated = TRUE;
-            }
-
             memcpy(&p_scb->cs, p_cs, sizeof(tAVDT_CS));
 #if AVDT_MULTIPLEXING == TRUE
             /* initialize fragments gueue */