summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrinu Jella <sjella@codeaurora.org>2015-08-12 18:37:32 +0530
committerSrinu Jella <sjella@codeaurora.org>2015-08-13 18:34:01 +0530
commit1df2ce62aade799b3582185df21a39d3fcdeaefe (patch)
tree63603b3f04ae47107434904ff4af152e841a36a9
parent2cd4ae1978f765d0a35904c6cfe0f818f7c56383 (diff)
downloadandroid_hardware_qcom_bt-1df2ce62aade799b3582185df21a39d3fcdeaefe.tar.gz
android_hardware_qcom_bt-1df2ce62aade799b3582185df21a39d3fcdeaefe.tar.bz2
android_hardware_qcom_bt-1df2ce62aade799b3582185df21a39d3fcdeaefe.zip
Bluetooth: Disable lpm from hci for PR and Rome based targets
- Disable lpm support from HCI layer for Pronto and Rome based targets as LPM is already handled by other mechanism. CRs-Fixed: 890003 Change-Id: I69e81d60748b2a00840479aea378f3c6d118a575
-rw-r--r--libbt-vendor/src/bt_vendor_qcom.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbt-vendor/src/bt_vendor_qcom.c b/libbt-vendor/src/bt_vendor_qcom.c
index 838efc0..cd17077 100644
--- a/libbt-vendor/src/bt_vendor_qcom.c
+++ b/libbt-vendor/src/bt_vendor_qcom.c
@@ -942,8 +942,9 @@ static int op(bt_vendor_opcode_t opcode, void *param)
bt_vendor_cbacks->lpm_cb(BT_VND_OP_RESULT_SUCCESS);
}
else {
+ // respond with failure as it's already handled by other mechanism
if (bt_vendor_cbacks)
- bt_vendor_cbacks->lpm_cb(BT_VND_OP_RESULT_SUCCESS); //dummy
+ bt_vendor_cbacks->lpm_cb(BT_VND_OP_RESULT_FAIL);
}
break;