diff options
author | Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> | 2012-05-25 11:17:38 +0300 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2012-05-25 14:48:22 +0300 |
commit | fc6cfb5cfd7641a848ac1a082b41737fd81512e5 (patch) | |
tree | 7830dd00620190f61dd5b2a55a904f5fa1cfb861 /src/technology.c | |
parent | 9c144117e0cd50aea8de2a1164136e205fd73541 (diff) | |
download | connman-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.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, |