OSDN Git Service
(root)
/
android-x86
/
system-bt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7edffcd
)
Fix HFP AT command BIA failures
author
Devin Kim
<dojip.kim@lge.com>
Wed, 7 Sep 2016 04:47:47 +0000
(13:47 +0900)
committer
Zach Johnson
<zachoverflow@google.com>
Wed, 12 Oct 2016 16:17:46 +0000
(09:17 -0700)
Running the PTE test case TC_AG_IIA_BV_01_I, a failure occurs due to
missing initialization of tBTA_AG_VAL.
Bug:
31325270
Test: PTS
Change-Id: I683eccd53d40e79ec03545166b18ffa1922f0fb2
bta/ag/bta_ag_cmd.c
patch
|
blob
|
history
diff --git
a/bta/ag/bta_ag_cmd.c
b/bta/ag/bta_ag_cmd.c
index
110b531
..
e3f7750
100644
(file)
--- a/
bta/ag/bta_ag_cmd.c
+++ b/
bta/ag/bta_ag_cmd.c
@@
-1113,6
+1113,7
@@
void bta_ag_at_hfp_cback(tBTA_AG_SCB *p_scb, UINT16 cmd, UINT8 arg_type,
APPL_TRACE_DEBUG("HFP AT cmd:%d arg_type:%d arg:%d arg:%s", cmd, arg_type,
int_arg, p_arg);
+ memset(&val, 0, sizeof(tBTA_AG_VAL));
val.hdr.handle = bta_ag_scb_to_idx(p_scb);
val.hdr.app_id = p_scb->app_id;
val.hdr.status = BTA_AG_SUCCESS;