summaryrefslogtreecommitdiff
path: root/plugins/ofono.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ofono.c')
-rw-r--r--plugins/ofono.c5
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;
}