diff options
Diffstat (limited to 'src/technology.c')
-rw-r--r-- | src/technology.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/technology.c b/src/technology.c index 42446b0b..2edb48f2 100644 --- a/src/technology.c +++ b/src/technology.c @@ -831,7 +831,7 @@ void __connman_technology_scan_stopped(struct connman_device *device) if (__connman_device_get_service_type(other_device) != type) continue; - if (__connman_device_scanning(other_device)) + if (connman_device_get_scanning(other_device) == TRUE) count += 1; } @@ -1101,7 +1101,7 @@ int __connman_technology_remove_device(struct connman_device *device) return -ENXIO; } - if (__connman_device_scanning(device)) + if (connman_device_get_scanning(device) == TRUE) __connman_technology_scan_stopped(device); technology->device_list = g_slist_remove(technology->device_list, |