aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVishal Mahaveer <vishalm@ti.com>2014-07-10 12:13:18 -0500
committerMichael Bestas <mikeioannina@gmail.com>2014-07-30 22:43:43 +0300
commit94bc4607b5c094ef0d9c0f6b2b6633bf384b038a (patch)
tree19bf19ce5d352d6bf00518a8cfbf26c2f40f867f
parent3565ae47a631b262343d6100752599a6a0223e7f (diff)
downloadandroid_hardware_ti_wpan-stable/cm-11.0-XNF8Y.tar.gz
android_hardware_ti_wpan-stable/cm-11.0-XNF8Y.tar.bz2
android_hardware_ti_wpan-stable/cm-11.0-XNF8Y.zip
A pair of asynchronous call-in and call-back API are added into the Host Controller Vendor Lib interface (bt_vendor_lib.h). The caller calls this new call-in function to inform the vendor module to perform vendor-specific shutdown process. vendor module is responsible for calling call-back function to notify the caller completion of vendor-specific shutdown process. Since we don't have any shutdown process, call call-back directly Change-Id: I30769b0518d9199fb5fe9fef550d2f21b20e7b2e Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
-rw-r--r--bluedroid_wilink/libbt-vendor-ti.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bluedroid_wilink/libbt-vendor-ti.c b/bluedroid_wilink/libbt-vendor-ti.c
index fa9393c..2a1cec4 100644
--- a/bluedroid_wilink/libbt-vendor-ti.c
+++ b/bluedroid_wilink/libbt-vendor-ti.c
@@ -121,6 +121,9 @@ int ti_op(bt_vendor_opcode_t opcode, void **param) {
case BT_VND_OP_FW_CFG:
bt_vendor_cbacks->fwcfg_cb(BT_VND_OP_RESULT_SUCCESS);
break;
+ case BT_VND_OP_EPILOG:
+ bt_vendor_cbacks->epilog_cb(BT_VND_OP_RESULT_SUCCESS);
+ break;
default:
ALOGW("Unknown opcode: %d", opcode);
break;