summaryrefslogtreecommitdiff
path: root/src/iface.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-01-08 11:08:07 +0100
committerMarcel Holtmann <marcel@holtmann.org>2008-01-08 11:08:07 +0100
commit3dce61ceefbe49774724917d1e61ad1d41640f52 (patch)
tree398ea2e4742ac835bbbf35955d1818531b7a21da /src/iface.c
parentca2197bc2724ed4534fc052d99d8815845d9315e (diff)
downloadconnman-3dce61ceefbe49774724917d1e61ad1d41640f52.tar.gz
connman-3dce61ceefbe49774724917d1e61ad1d41640f52.tar.bz2
connman-3dce61ceefbe49774724917d1e61ad1d41640f52.zip
Update interface constants and definitions
Diffstat (limited to 'src/iface.c')
-rw-r--r--src/iface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/iface.c b/src/iface.c
index 9c9d7350..fce6dd0f 100644
--- a/src/iface.c
+++ b/src/iface.c
@@ -97,14 +97,14 @@ int connman_iface_update(struct connman_iface *iface,
enum connman_iface_state state)
{
switch (state) {
- case CONNMAN_IFACE_STATE_ACTIVE:
+ case CONNMAN_IFACE_STATE_ENABLED:
if (iface->type == CONNMAN_IFACE_TYPE_80211) {
if (iface->driver->connect)
iface->driver->connect(iface, NULL);
}
break;
- case CONNMAN_IFACE_STATE_CONNECTED:
+ case CONNMAN_IFACE_STATE_CARRIER:
__connman_dhcp_request(iface);
break;