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:
a10269d
)
gsupplicant: Fix deadlock when disassociate while associating
author
Mohamed Abbas
<mabbas@linux.intel.com>
Wed, 27 Oct 2010 10:17:39 +0000
(
03:17
-0700)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Tue, 2 Nov 2010 10:56:00 +0000
(11:56 +0100)
Without setting the associating flag to false, ConnMan could potentially enter
an infinite loop through __connman_network_disconnect().
plugins/wifi.c
patch
|
blob
|
history
diff --git
a/plugins/wifi.c
b/plugins/wifi.c
index
a159a9d
..
69548fd
100644
(file)
--- a/
plugins/wifi.c
+++ b/
plugins/wifi.c
@@
-617,6
+617,8
@@
static int network_disconnect(struct connman_network *network)
if (wifi == NULL || wifi->interface == NULL)
return -ENODEV;
+ connman_network_set_associating(network, FALSE);
+
return g_supplicant_interface_disconnect(wifi->interface,
disconnect_callback, wifi);
}