novatel: assume only IPv4 supported for now
This commit is contained in:
@@ -100,7 +100,6 @@ detailed_connect_context_complete_and_free_successful (DetailedConnectContext *c
|
|||||||
detailed_connect_context_complete_and_free (ctx);
|
detailed_connect_context_complete_and_free (ctx);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
connect_3gpp_finish (MMBroadbandBearer *self,
|
connect_3gpp_finish (MMBroadbandBearer *self,
|
||||||
GAsyncResult *res,
|
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));
|
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);
|
*ipv4_config = g_object_ref (config);
|
||||||
*ipv6_config = g_object_ref (config);
|
*ipv6_config = NULL;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user