projects
/
connman
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e826f4
)
Only try to connect to available networks
author
Marcel Holtmann
<marcel@holtmann.org>
Sat, 13 Dec 2008 19:44:36 +0000
(20:44 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sat, 13 Dec 2008 19:44:36 +0000
(20:44 +0100)
plugins/wifi.c
patch
|
blob
|
history
diff --git
a/plugins/wifi.c
b/plugins/wifi.c
index
7599063
..
6dafad4
100644
(file)
--- a/
plugins/wifi.c
+++ b/
plugins/wifi.c
@@
-198,7
+198,8
@@
static void connect_known_networks(struct connman_element *device)
struct connman_element *element = list->data;
if (element->policy == CONNMAN_ELEMENT_POLICY_AUTO &&
- element->remember == TRUE) {
+ element->remember == TRUE &&
+ element->available == TRUE) {
if (network_enable(element) == 0)
return;
}