projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5648330
)
Fix issue with wpa_supplicant disconnecting
author
Marcel Holtmann
<marcel@holtmann.org>
Fri, 12 Dec 2008 00:18:04 +0000
(
01:18
+0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Fri, 12 Dec 2008 00:18:04 +0000
(
01:18
+0100)
plugins/wifi.c
patch
|
blob
|
history
diff --git
a/plugins/wifi.c
b/plugins/wifi.c
index
93312ca
..
660ea9f
100644
(file)
--- a/
plugins/wifi.c
+++ b/
plugins/wifi.c
@@
-148,6
+148,9
@@
static void state_change(struct connman_element *parent,
DBG("state %d", state);
+ if (data == NULL)
+ return;
+
if (data->identifier == NULL)
return;
@@
-334,6
+337,8
@@
static int wifi_disable(struct connman_element *element)
connman_element_unregister_children(element);
+ __supplicant_stop(element);
+
return 0;
}