diff options
author | Vishal Mahaveer <vishalm@ti.com> | 2014-07-10 12:13:18 -0500 |
---|---|---|
committer | Michael Bestas <mikeioannina@gmail.com> | 2014-07-30 22:43:43 +0300 |
commit | 94bc4607b5c094ef0d9c0f6b2b6633bf384b038a (patch) | |
tree | 19bf19ce5d352d6bf00518a8cfbf26c2f40f867f | |
parent | 3565ae47a631b262343d6100752599a6a0223e7f (diff) | |
download | android_hardware_ti_wpan-stable/cm-11.0-XNF9X.tar.gz android_hardware_ti_wpan-stable/cm-11.0-XNF9X.tar.bz2 android_hardware_ti_wpan-stable/cm-11.0-XNF9X.zip |
New call-in/-back functions for Controller to do vendor-specific shutdowncm-11.0-XNPH44S-bacon-5fa8c79c0bcm-11.0-XNPH05Q-tomato-9828f8e9cccm-11.0-XNPH05Q-bacon-5229c4ef56staging/cm-12.0-cafstable/cm-11.0-XNG3Cstable/cm-11.0-XNG2Sstable/cm-11.0-XNF9Xstable/cm-11.0-XNF8Ystable/cm-11.0shipping/cm-11.0cm-11.0
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.c | 3 |
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; |