From 327a69ed16f2a47e26cce704f025b864f03130a4 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Fri, 16 Mar 2012 13:15:01 +0100 Subject: [PATCH] novatel: assume only IPv4 supported for now --- plugins/novatel/mm-broadband-bearer-novatel.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/plugins/novatel/mm-broadband-bearer-novatel.c b/plugins/novatel/mm-broadband-bearer-novatel.c index 2f9b4565..2dcb5112 100644 --- a/plugins/novatel/mm-broadband-bearer-novatel.c +++ b/plugins/novatel/mm-broadband-bearer-novatel.c @@ -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; }