summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sl4n/facades/bluetooth/bluetooth_binder_facade.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sl4n/facades/bluetooth/bluetooth_binder_facade.cpp b/sl4n/facades/bluetooth/bluetooth_binder_facade.cpp
index 51c1644..a15a347 100644
--- a/sl4n/facades/bluetooth/bluetooth_binder_facade.cpp
+++ b/sl4n/facades/bluetooth/bluetooth_binder_facade.cpp
@@ -55,7 +55,7 @@ std::tuple<bool, int> BluetoothBinderFacade::BluetoothBinderEnable() {
LOG(ERROR) << sl4n::kTagStr << ": IBluetooth interface not enabled";
return std::make_tuple(false, sl4n_error_codes::kFailInt);
}
- bool result = bt_iface->Enable();
+ bool result = bt_iface->Enable(false);
if (!result) {
LOG(ERROR) << sl4n::kTagStr << ": Failed to enable the Bluetooth service";
return std::make_tuple(false, sl4n_error_codes::kPassInt);
@@ -172,4 +172,4 @@ std::tuple<int, int> BluetoothBinderFacade::BluetoothBinderSetAdvSettings(
BluetoothBinderFacade::BluetoothBinderFacade() {
adv_settings_count = 0;
manu_data_count = 0;
-} \ No newline at end of file
+}