Update enable() and init() with upstream function signature.
Change-Id: If53d6dadafb47fbc7e5f4af2bc5f2938c22f9fd0
diff --git a/certification_tools/blegatt_test/gatt_test.cpp b/certification_tools/blegatt_test/gatt_test.cpp
index 383ad5f..3453369 100644
--- a/certification_tools/blegatt_test/gatt_test.cpp
+++ b/certification_tools/blegatt_test/gatt_test.cpp
@@ -2218,7 +2218,7 @@
void bdt_init(void)
{
bdt_log("INIT BT ");
- status = sBtInterface->init(&bt_callbacks);
+ status = sBtInterface->init(&bt_callbacks, false, false);
if (status == BT_STATUS_SUCCESS) {
// Get Vendor Interface
btvendorInterface = (btvendor_interface_t *)sBtInterface->get_profile_interface(BT_PROFILE_VENDOR_ID);
@@ -2239,7 +2239,7 @@
bdt_log("Bluetooth is already enabled");
return;
}
- status = sBtInterface->enable(false);
+ status = sBtInterface->enable();
check_return_status(status);
}
diff --git a/certification_tools/l2test_ertm/l2test_ertm.cpp b/certification_tools/l2test_ertm/l2test_ertm.cpp
index 2c3b4ae..1e5e84e 100644
--- a/certification_tools/l2test_ertm/l2test_ertm.cpp
+++ b/certification_tools/l2test_ertm/l2test_ertm.cpp
@@ -662,7 +662,7 @@
void bdt_init(void)
{
printf("INIT BT \n");
- status = (bt_status_t)sBtInterface->init(&bt_callbacks);
+ status = (bt_status_t)sBtInterface->init(&bt_callbacks, false, false);
if (status == BT_STATUS_SUCCESS) {
// Get Vendor Interface
btvendorInterface = (btvendor_interface_t *)sBtInterface->get_profile_interface(BT_PROFILE_VENDOR_ID);
@@ -683,7 +683,7 @@
printf("Bluetooth is already enabled\n");
return;
}
- status = (bt_status_t)sBtInterface->enable(strict_mode);
+ status = (bt_status_t)sBtInterface->enable();
return;
}
diff --git a/certification_tools/mcap_tool/mcap_tool.cpp b/certification_tools/mcap_tool/mcap_tool.cpp
index 94f8a8a..17910b5 100644
--- a/certification_tools/mcap_tool/mcap_tool.cpp
+++ b/certification_tools/mcap_tool/mcap_tool.cpp
@@ -804,7 +804,7 @@
void bdt_init(void)
{
bdt_log("INIT BT ");
- status = (bt_status_t)sBtInterface->init(&bt_callbacks);
+ status = (bt_status_t)sBtInterface->init(&bt_callbacks, false, false);
if (status == BT_STATUS_SUCCESS) {
// Get Vendor Interface
btvendorInterface = (btvendor_interface_t *)sBtInterface->get_profile_interface(BT_PROFILE_VENDOR_ID);
@@ -824,7 +824,7 @@
bdt_log("Bluetooth is already enabled");
return;
}
- status = (bt_status_t)sBtInterface->enable(strict_mode);
+ status = (bt_status_t)sBtInterface->enable();
check_return_status(status);
}
diff --git a/certification_tools/rfcommtest/rfcommtest.cpp b/certification_tools/rfcommtest/rfcommtest.cpp
index 2336019..2481d5e 100644
--- a/certification_tools/rfcommtest/rfcommtest.cpp
+++ b/certification_tools/rfcommtest/rfcommtest.cpp
@@ -715,7 +715,7 @@
void bdt_init(void)
{
bdt_log("INIT BT ");
- status = (bt_status_t)sBtInterface->init(&bt_callbacks);
+ status = (bt_status_t)sBtInterface->init(&bt_callbacks, false, false);
if (status == BT_STATUS_SUCCESS) {
// Get Vendor Interface
btvendorInterface = (btvendor_interface_t *)sBtInterface->get_profile_interface(BT_PROFILE_VENDOR_ID);
@@ -735,7 +735,7 @@
bdt_log("Bluetooth is already enabled");
return;
}
- status = (bt_status_t)sBtInterface->enable(strict_mode);
+ status = (bt_status_t)sBtInterface->enable();
check_return_status(status);
}