projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3ad57f
)
Release DHCP lease when carrier off
author
Marcel Holtmann
<marcel@holtmann.org>
Mon, 14 Jan 2008 05:25:40 +0000
(06:25 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Mon, 14 Jan 2008 05:25:40 +0000
(06:25 +0100)
src/iface.c
patch
|
blob
|
history
diff --git
a/src/iface.c
b/src/iface.c
index
2e63866
..
ec790ad
100644
(file)
--- a/
src/iface.c
+++ b/
src/iface.c
@@
-112,6
+112,7
@@
static void state_changed(struct connman_iface *iface)
break;
case CONNMAN_IFACE_STATE_ENABLED:
+ __connman_dhcp_release(iface);
if (iface->type == CONNMAN_IFACE_TYPE_80211) {
state = CONNMAN_IFACE_STATE_SCANNING;
if (iface->driver->connect) {