Add bt-driver-insmod.service trigger logic
[platform/core/connectivity/bluetooth-frwk.git] / bt-api / bt-adapter-le.c
index 989d2d4..d96c32a 100644 (file)
@@ -127,8 +127,7 @@ BT_EXPORT_API int bluetooth_stop_le_discovery(void)
 
        BT_FREE_PARAMS(in_param1, in_param2, in_param3, in_param4, out_param);
 
-       if (result == BLUETOOTH_ERROR_NONE)
-               _bt_set_le_scan_status(FALSE);
+       _bt_set_le_scan_status(FALSE);
 
        return result;
 }