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:
+1
-1
@@ -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) ?
|
||||
|
||||
Reference in New Issue
Block a user