summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTyler <twsmith85@gmail.com>2014-11-14 12:11:14 +0100
committerAleksander Morgado <aleksander@aleksander.es>2014-11-14 12:13:10 +0100
commitb51f701524778acde8ed33d3e4f1a2ac0f694f81 (patch)
treeac315186de78f14804f5b0df736d19a38012307d /src
parent692e6d344a6b2b9d943a577cfe3df1994e6d42a4 (diff)
downloadModemManager-b51f701524778acde8ed33d3e4f1a2ac0f694f81.tar.gz
bearer: PDP context APN scan should be case insensitive
Diffstat (limited to 'src')
-rw-r--r--src/mm-broadband-bearer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-broadband-bearer.c b/src/mm-broadband-bearer.c
index 98714ebc9..d917542af 100644
--- a/src/mm-broadband-bearer.c
+++ b/src/mm-broadband-bearer.c
@@ -985,7 +985,7 @@ parse_pdp_list (MMBaseModem *modem,
const gchar *apn;
apn = mm_bearer_properties_get_apn (mm_base_bearer_peek_config (MM_BASE_BEARER (ctx->self)));
- if (apn && g_str_equal (pdp->apn, apn)) {
+ if (apn && !g_ascii_strcasecmp (pdp->apn, apn)) {
gchar *ip_family_str;
/* Found a PDP context with the same CID and PDP type, we'll use it. */