summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2015-08-24 17:09:10 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2015-08-24 17:09:10 -0700
commit77ce22758aecd04d7ef3f618aa0f59ce042e9a1c (patch)
tree2e465331f656315a3b458562484e4b893bd307b4
parent7b741ad1e1fd3d6ad3c2e63e4abd06d10e6c0d09 (diff)
parent1df2ce62aade799b3582185df21a39d3fcdeaefe (diff)
downloadandroid_hardware_qcom_bt-77ce22758aecd04d7ef3f618aa0f59ce042e9a1c.tar.gz
android_hardware_qcom_bt-77ce22758aecd04d7ef3f618aa0f59ce042e9a1c.tar.bz2
android_hardware_qcom_bt-77ce22758aecd04d7ef3f618aa0f59ce042e9a1c.zip
Merge "Bluetooth: Disable lpm from hci for PR and Rome based targets"
-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;