diff options
author | Mudumba Ananth <ananthm@broadcom.com> | 2015-03-25 05:20:02 -0700 |
---|---|---|
committer | Mudumba Ananth <ananthm@broadcom.com> | 2015-03-25 05:22:55 -0700 |
commit | 4d8ac4ff015ff87c4e985ac0d9a5f3c2a6b0d9fa (patch) | |
tree | fc5806cce6ca0b47b9c7ce6017a9c89798451175 /main | |
parent | cdfb11a323a75ff3458309e76239753b7aae8391 (diff) | |
download | android_system_bt-4d8ac4ff015ff87c4e985ac0d9a5f3c2a6b0d9fa.tar.gz android_system_bt-4d8ac4ff015ff87c4e985ac0d9a5f3c2a6b0d9fa.tar.bz2 android_system_bt-4d8ac4ff015ff87c4e985ac0d9a5f3c2a6b0d9fa.zip |
Resolved hardware error observed during SCO Connection setup
Hardware error was caused due to a faulty HCI command formed in the
process of vendor specific pre-SCO setup in the stack(set_audio_state)
Fixed the above problem and also added back the vendor (interface)
mapping for the set_audio_state functionality to facilitate the
sending of the pre-SCO vendor specific commands.
Bug: 19923226
Change-Id: I03c6a1c048c21549b7326a783b70588686283eb3
Diffstat (limited to 'main')
-rwxr-xr-x | main/bte_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/bte_main.c b/main/bte_main.c index 9343bad5c..a44210138 100755 --- a/main/bte_main.c +++ b/main/bte_main.c @@ -55,6 +55,7 @@ #include "osi/include/log.h" #include "stack_config.h" #include "osi/include/thread.h" +#include "vendor.h" /******************************************************************************* ** Constants & Macros @@ -290,7 +291,7 @@ int set_audio_state(UINT16 handle, UINT16 codec, UINT8 state, void *param) /* layer_specific shall contain return path event! for BTA events! * 0 means no return message is expected. */ p_msg->hdr.layer_specific = 0; - hci->transmit_downward(MSG_STACK_TO_HC_HCI_CMD, p_msg); + vendor_get_interface()->send_command(VENDOR_SET_AUDIO_STATE, &(p_msg->audio)); return result; } |