From 1df2ce62aade799b3582185df21a39d3fcdeaefe Mon Sep 17 00:00:00 2001 From: Srinu Jella Date: Wed, 12 Aug 2015 18:37:32 +0530 Subject: 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 --- libbt-vendor/src/bt_vendor_qcom.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3