From 0d6f6ccd7651ec737afe408f429c407e09471fdc Mon Sep 17 00:00:00 2001 From: Bjørn Mork Date: Sat, 24 Apr 2021 19:54:22 +0200 Subject: more no_ip_family_preference debug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bjørn Mork --- src/mm-bearer-qmi.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mm-bearer-qmi.c b/src/mm-bearer-qmi.c index 1eafbf8c..547c1e0d 100644 --- a/src/mm-bearer-qmi.c +++ b/src/mm-bearer-qmi.c @@ -2070,8 +2070,10 @@ _connect (MMBaseBearer *_self, ctx->password = g_strdup (mm_bearer_properties_get_password (properties)); ip_family = mm_bearer_properties_get_ip_type (properties); - if (mm_3gpp_normalize_ip_family (&ip_family)) + if (mm_3gpp_normalize_ip_family (&ip_family)) { + mm_obj_dbg (self, "setting ctx->no_ip_family_preference = TRUE because mm_3gpp_normalize_ip_family returned TRUE"); ctx->no_ip_family_preference = TRUE; + } if (ip_family & MM_BEARER_IP_FAMILY_IPV4) ctx->ipv4 = TRUE; -- cgit v1.2.3