Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib: location: gnss: Fix setting of 'running' variable
In method_gnss_location_get(), 'running' variable is set after submitting method_gnss_prepare_work_fn() into location_api_workq. It has been seen that 'running' is not set when method_gnss_prepare_work_fn() is executed meaning that location_request() was called from a lower priority thread than location_api_workq. We need to set 'running' before submitting method_gnss_prepare_work_fn() into location_api_workq. Jira: NCSDK-27001 Signed-off-by: Tommi Rantanen <tommi.rantanen@nordicsemi.no>
- Loading branch information