OSDN Git Service

BTA HF CLIENT: Unset initial SCO value
authorSanket Agarwal <sanketa@google.com>
Fri, 20 Jan 2017 19:06:41 +0000 (11:06 -0800)
committerSanket Agarwal <sanketa@google.com>
Fri, 20 Jan 2017 19:10:38 +0000 (11:10 -0800)
commit882760d186f7b49b5681f7ddd1c296706eb80bd8
treea8831c18a33656ae131ca94c3f1452253094834c
parenta3f831cc746cec746c25c1b45d9528aa3fc926e7
BTA HF CLIENT: Unset initial SCO value

Initialize the block with invalid SCO state so that while allocating the
if condition does not ignore the block. This was causing the stack to
not initiate a SCO connection to the remote (AG role)

Bug: b/33555377
Test: Check for SCO initialied on audio call
Change-Id: I3f5619c69288483bfa45c2a1adcf22008e353841
bta/hf_client/bta_hf_client_main.cc