projects
/
connman
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1ab32e
)
Don't start DHCP again after handshake
author
Marcel Holtmann
<marcel@holtmann.org>
Mon, 22 Dec 2008 09:20:03 +0000
(10:20 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Mon, 22 Dec 2008 09:20:03 +0000
(10:20 +0100)
plugins/wifi.c
patch
|
blob
|
history
diff --git
a/plugins/wifi.c
b/plugins/wifi.c
index
f72cdb8
..
f70f0b6
100644
(file)
--- a/
plugins/wifi.c
+++ b/
plugins/wifi.c
@@
-228,7
+228,7
@@
static void state_change(struct connman_element *device,
if (element == NULL)
goto reconnect;
- if (state == STATE_COMPLETED) {
+ if (state == STATE_COMPLETED && data->connected == FALSE) {
struct connman_element *dhcp;
data->connected = TRUE;