summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/FNetBt_BluetoothGapSystemAdapter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FNetBt_BluetoothGapSystemAdapter.cpp b/src/FNetBt_BluetoothGapSystemAdapter.cpp
index 2adf317..3e79b41 100755
--- a/src/FNetBt_BluetoothGapSystemAdapter.cpp
+++ b/src/FNetBt_BluetoothGapSystemAdapter.cpp
@@ -500,7 +500,7 @@ _BluetoothGapSystemAdapter::StartDiscovery(void)
{
result r = E_SYSTEM;
- if (bt_adapter_start_discover_devices(BT_ADAPTER_DEVICE_DISCOVERY_BREDR) == BT_ERROR_NONE)
+ if (bt_adapter_start_device_discovery() == BT_ERROR_NONE)
{
r = E_SUCCESS;
}