diff options
author | Mohamed Abbas <mabbas@linux.intel.com> | 2011-01-26 00:31:54 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-01-26 00:31:54 +0100 |
commit | 15a1cf2d279ff7a2e8bf85e8a52cfec1cde0e525 (patch) | |
tree | 755bf94740630a560d11dc20caeadbd1e3fa3aaa /include/device.h | |
parent | af54367c8b1fb235605071427c08ae688c386374 (diff) | |
download | connman-15a1cf2d279ff7a2e8bf85e8a52cfec1cde0e525.tar.gz connman-15a1cf2d279ff7a2e8bf85e8a52cfec1cde0e525.tar.bz2 connman-15a1cf2d279ff7a2e8bf85e8a52cfec1cde0e525.zip |
wifi: Balance scanning states
By setting the scan state to TRUE from wifi_scan() and setting it back
to FALSE in the callback, the wifi device scanning state is consistent.
Fixes BMC#12104
Diffstat (limited to 'include/device.h')
-rw-r--r-- | include/device.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/device.h b/include/device.h index c5e005d7..5cb34d74 100644 --- a/include/device.h +++ b/include/device.h @@ -72,6 +72,7 @@ int connman_device_set_powered(struct connman_device *device, connman_bool_t powered); int connman_device_set_scanning(struct connman_device *device, connman_bool_t scanning); +void connman_device_reset_scanning(struct connman_device *device); int connman_device_set_disconnected(struct connman_device *device, connman_bool_t disconnected); |