aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2023-01-20 15:05:50 +0100
committerLubomir Rintel <lkundrak@v3.sk>2023-01-20 15:05:50 +0100
commit3a1cc27f2e9f173384c084cc2c0c3c5e8f796185 (patch)
treea9b997c59c7498783e9418edfd7867c9ac51f506 /src
parent5ed79518be6710a40729c02b7061a63298c0cf41 (diff)
bearer-qmi: fix a mnc/mcc typo
Makes my compiler unhappy: [471/539] Compiling C object src/ModemManager.p/mm-bearer-qmi.c.o ../src/mm-bearer-qmi.c: In function ‘process_operator_reserved_pco’: ../src/mm-bearer-qmi.c:580:18: warning: logical ‘and’ of equal expressions [-Wlogical-op] 580 | if (!tmp_mcc && !tmp_mcc && !container_id && !array->len) | ^~ Fixes: f4b8d14b8d2d ('bearer-qmi: explicitly ignore PCOs with undefined contents:')
Diffstat (limited to 'src')
-rw-r--r--src/mm-bearer-qmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-bearer-qmi.c b/src/mm-bearer-qmi.c
index 4737158c..caf925db 100644
--- a/src/mm-bearer-qmi.c
+++ b/src/mm-bearer-qmi.c
@@ -577,7 +577,7 @@ process_operator_reserved_pco (MMBearerQmi *self,
return;
/* Ignore PCOs with undefined contents */
- if (!tmp_mcc && !tmp_mcc && !container_id && !array->len)
+ if (!tmp_mcc && !tmp_mnc && !container_id && !array->len)
return;
app_specific_info_str = ((array->len > 0) ?