Skip to content

bearer-qmi: fix a mnc/mcc typo

Lubomir Rintel requested to merge lkundrak/ModemManager:lr/mcc-mnc-typo into main

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: f4b8d14b ('bearer-qmi: explicitly ignore PCOs with undefined contents:')

Merge request reports

Loading