summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu.vizoso@collabora.com>2017-04-27 10:17:28 -0400
committerRobert Foss <robert.foss@collabora.com>2017-04-27 10:17:28 -0400
commit6379e898dc30a9831774fea453edaa96cc568bcd (patch)
treec53cad7bd1f2a666e349406ca93454e6f6c3c5a5
parentb90b669eb40316f13df9f080add09c29139f4d3a (diff)
downloadandroid-system-bt-6379e898dc30a9831774fea453edaa96cc568bcd.tar.gz
android-system-bt-6379e898dc30a9831774fea453edaa96cc568bcd.tar.xz
HACK: Prevent bluetooth errors from causing boot issuesandroid-etnaviv
-rw-r--r--hci/src/vendor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hci/src/vendor.c b/hci/src/vendor.c
index c6bbd43..7ce36b1 100644
--- a/hci/src/vendor.c
+++ b/hci/src/vendor.c
@@ -92,11 +92,13 @@ static void vendor_close(void) {
}
static int send_command(vendor_opcode_t opcode, void *param) {
+ return -1;
assert(lib_interface != NULL);
return lib_interface->op((bt_vendor_opcode_t)opcode, param);
}
static int send_async_command(vendor_async_opcode_t opcode, void *param) {
+ return -1;
assert(lib_interface != NULL);
return lib_interface->op((bt_vendor_opcode_t)opcode, param);
}