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:
91b02d3
)
Only connect known networks when in inactive state
author
Marcel Holtmann
<marcel@holtmann.org>
Mon, 15 Dec 2008 02:41:03 +0000
(
03:41
+0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Mon, 15 Dec 2008 02:41:03 +0000
(
03:41
+0100)
plugins/wifi.c
patch
|
blob
|
history
diff --git
a/plugins/wifi.c
b/plugins/wifi.c
index
b7eea7b
..
9cddb61
100644
(file)
--- a/
plugins/wifi.c
+++ b/
plugins/wifi.c
@@
-247,7
+247,7
@@
static void state_change(struct connman_element *device,
}
reconnect:
- if (state == STATE_INACTIVE
|| state == STATE_DISCONNECTED
) {
+ if (state == STATE_INACTIVE) {
data->connected = FALSE;
connect_known_networks(device);
}