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: f4b8d14b8d ('bearer-qmi: explicitly ignore PCOs with undefined contents:')
This commit is contained in:
Lubomir Rintel
2023-01-20 15:05:50 +01:00
parent 5ed79518be
commit 3a1cc27f2e
+1 -1
View File
@@ -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) ?