diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2010-11-04 22:50:54 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-11-04 22:50:54 +0100 |
commit | c865c773213ed9fa142a159f06c3657e6e157102 (patch) | |
tree | 91a0f4d3bbaafb7a48c461b946b3b13b1794056a /plugins/ofono.c | |
parent | 5f4949b4f2b2319497cdf445985cb1d870394fb9 (diff) | |
download | connman-c865c773213ed9fa142a159f06c3657e6e157102.tar.gz connman-c865c773213ed9fa142a159f06c3657e6e157102.tar.bz2 connman-c865c773213ed9fa142a159f06c3657e6e157102.zip |
Remove unneeded enum connman_network_protocol
Diffstat (limited to 'plugins/ofono.c')
-rw-r--r-- | plugins/ofono.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/ofono.c b/plugins/ofono.c index a58f2ce6..691037db 100644 --- a/plugins/ofono.c +++ b/plugins/ofono.c @@ -574,10 +574,7 @@ static int add_network(struct connman_device *device, const char *type; dbus_message_iter_get_basic(&value, &type); - if (g_strcmp0(type, "internet") == 0) { - connman_network_set_protocol(network, - CONNMAN_NETWORK_PROTOCOL_IP); - } else { + if (g_strcmp0(type, "internet") != 0) { DBG("path %p type %s", path, type); goto error; } |