cinterion: remove unused checkup of default IP family
Looks like the logic is just there to write a debug log, as the selected IP family is not used anywhere else. Just remove this.
This commit is contained in:
@@ -300,21 +300,9 @@ dial_3gpp_context_step (GTask *task)
|
|||||||
}
|
}
|
||||||
|
|
||||||
switch (ctx->step) {
|
switch (ctx->step) {
|
||||||
case DIAL_3GPP_CONTEXT_STEP_FIRST: {
|
case DIAL_3GPP_CONTEXT_STEP_FIRST:
|
||||||
MMBearerIpFamily ip_family;
|
|
||||||
|
|
||||||
ip_family = mm_bearer_properties_get_ip_type (mm_base_bearer_peek_config (MM_BASE_BEARER (ctx->self)));
|
|
||||||
if (ip_family == MM_BEARER_IP_FAMILY_NONE || ip_family == MM_BEARER_IP_FAMILY_ANY) {
|
|
||||||
gchar *ip_family_str;
|
|
||||||
|
|
||||||
ip_family = mm_base_bearer_get_default_ip_family (MM_BASE_BEARER (ctx->self));
|
|
||||||
ip_family_str = mm_bearer_ip_family_build_string_from_mask (ip_family);
|
|
||||||
mm_obj_dbg (self, "no specific IP family requested, defaulting to %s", ip_family_str);
|
|
||||||
g_free (ip_family_str);
|
|
||||||
}
|
|
||||||
|
|
||||||
ctx->step++;
|
ctx->step++;
|
||||||
} /* fall through */
|
/* fall through */
|
||||||
|
|
||||||
case DIAL_3GPP_CONTEXT_STEP_AUTH: {
|
case DIAL_3GPP_CONTEXT_STEP_AUTH: {
|
||||||
gchar *command;
|
gchar *command;
|
||||||
|
Reference in New Issue
Block a user