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:
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 2e6386636849813492547e8528aa9ef2fd541c10..ec790ade98b9c6bd1b789cdbe4a9ab74b2c62e59 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) {