projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc61a82
)
wifi: Always set scanning to FALSE in scan callback
author
Patrik Flykt
<patrik.flykt@linux.intel.com>
Wed, 1 Feb 2012 14:43:53 +0000
(16:43 +0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Sat, 4 Feb 2012 00:15:35 +0000
(
01:15
+0100)
By always setting scanning to FALSE in the scan callback,
information for a stopped scan will be processed in
device.c.
plugins/wifi.c
patch
|
blob
|
history
diff --git
a/plugins/wifi.c
b/plugins/wifi.c
index
0860938
..
aeeb912
100644
(file)
--- a/
plugins/wifi.c
+++ b/
plugins/wifi.c
@@
-301,8
+301,8
@@
static void scan_callback(int result, GSupplicantInterface *interface,
if (result < 0)
connman_device_reset_scanning(device);
- else
-
connman_device_set_scanning(device, FALSE);
+
+ connman_device_set_scanning(device, FALSE);
connman_device_unref(device);
}