summaryrefslogtreecommitdiffstats
path: root/main/bte_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/bte_main.c')
-rwxr-xr-xmain/bte_main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/main/bte_main.c b/main/bte_main.c
index a44210138..9343bad5c 100755
--- a/main/bte_main.c
+++ b/main/bte_main.c
@@ -55,7 +55,6 @@
#include "osi/include/log.h"
#include "stack_config.h"
#include "osi/include/thread.h"
-#include "vendor.h"
/*******************************************************************************
** Constants & Macros
@@ -291,7 +290,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;
- vendor_get_interface()->send_command(VENDOR_SET_AUDIO_STATE, &(p_msg->audio));
+ hci->transmit_downward(MSG_STACK_TO_HC_HCI_CMD, p_msg);
return result;
}