summaryrefslogtreecommitdiff
path: root/src/technology.c
diff options
context:
space:
mode:
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>2012-05-25 11:17:38 +0300
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-05-25 14:48:22 +0300
commitfc6cfb5cfd7641a848ac1a082b41737fd81512e5 (patch)
tree7830dd00620190f61dd5b2a55a904f5fa1cfb861 /src/technology.c
parent9c144117e0cd50aea8de2a1164136e205fd73541 (diff)
downloadconnman-fc6cfb5cfd7641a848ac1a082b41737fd81512e5.tar.gz
connman-fc6cfb5cfd7641a848ac1a082b41737fd81512e5.tar.bz2
connman-fc6cfb5cfd7641a848ac1a082b41737fd81512e5.zip
device: Make scanning getter method public.
Diffstat (limited to 'src/technology.c')
-rw-r--r--src/technology.c4
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,