novatel: assume only IPv4 supported for now

This commit is contained in:
Aleksander Morgado
2012-03-16 13:15:01 +01:00
parent 70c70a61ab
commit 327a69ed16

View File

@@ -100,7 +100,6 @@ detailed_connect_context_complete_and_free_successful (DetailedConnectContext *c
detailed_connect_context_complete_and_free (ctx);
}
static gboolean
connect_3gpp_finish (MMBroadbandBearer *self,
GAsyncResult *res,
@@ -115,9 +114,9 @@ connect_3gpp_finish (MMBroadbandBearer *self,
config = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res));
/* In the default implementation, we assume we'll have the same configs */
/* In the default implementation, we assume only IPv4 is supported */
*ipv4_config = g_object_ref (config);
*ipv6_config = g_object_ref (config);
*ipv6_config = NULL;
return TRUE;
}