Add vendor bluetooth path to fix compilation
Change-Id: I29cbdc13b506741f61b5b056781a84a4f0dc174c
diff --git a/libbt-vendor/Android.mk b/libbt-vendor/Android.mk
index 55b2ed9..1127030 100644
--- a/libbt-vendor/Android.mk
+++ b/libbt-vendor/Android.mk
@@ -44,7 +44,7 @@
LOCAL_C_INCLUDES += \
$(LOCAL_PATH)/include \
external/bluetooth/bluedroid/hci/include \
- system/bt/hci/include \
+ vendor/qcom/opensource/system/bt/hci/include \
$(TARGET_OUT_HEADERS)/bt/hci_qcomm_init \
$(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
diff --git a/libbt-vendor/src/bt_vendor_qcom.c b/libbt-vendor/src/bt_vendor_qcom.c
index 7e0e447..0409daa 100755
--- a/libbt-vendor/src/bt_vendor_qcom.c
+++ b/libbt-vendor/src/bt_vendor_qcom.c
@@ -1367,7 +1367,7 @@
}
/* Close both ANT channel */
- __op(BT_VND_OP_ANT_USERIAL_CLOSE, NULL);
+ __op((bt_vendor_opcode_t)BT_VND_OP_ANT_USERIAL_CLOSE, NULL);
#endif
/* Close both BT channel */
__op(BT_VND_OP_USERIAL_CLOSE, NULL);