diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2021-05-16 23:23:30 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-05-22 22:58:37 +0000 |
commit | a878cfa0036f6c0608c3e17697edff08ccd9fab1 (patch) | |
tree | 9b4fe16bc78f1058ecbd80b62855356c8022ce21 /src/mm-modem-helpers-qmi.h | |
parent | 8da8fd0248fa619709aa2a17b1717e7981b641d0 (diff) |
modem-helpers-mbim: rework nw error code mapping
Instead of having a switch with a lot of cases, provide a one to one
mapping for the MbimNwError and MMMobileEquipmentError codes in an
array, and make use of the mm_mobile_equipment_error_for_code() helper
to build the actual GError.
Diffstat (limited to 'src/mm-modem-helpers-qmi.h')
0 files changed, 0 insertions, 0 deletions