projects
/
connman
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix issue with wpa_supplicant disconnecting
[connman]
/
plugins
/
wifi.c
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;
}