diff options
Diffstat (limited to 'src/direct_bt/DBTAdapter.cpp')
-rw-r--r-- | src/direct_bt/DBTAdapter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/direct_bt/DBTAdapter.cpp b/src/direct_bt/DBTAdapter.cpp index 3c63580b..037c54dc 100644 --- a/src/direct_bt/DBTAdapter.cpp +++ b/src/direct_bt/DBTAdapter.cpp @@ -566,7 +566,7 @@ HCIStatusCode DBTAdapter::stopDiscovery() noexcept { status = HCIStatusCode::SUCCESS; // send event: discoveryTempDisabled } else { // Actual disabling discovery - HCIStatusCode status = hci.le_enable_scan(false /* enable */); + status = hci.le_enable_scan(false /* enable */); if( HCIStatusCode::SUCCESS != status ) { ERR_PRINT("DBTAdapter::stopDiscovery: le_enable_scan failed: %s", getHCIStatusCodeString(status).c_str()); } |