Fix compile with WITH_NEWEST_QMI_COMMANDS
Some minor fixes discovered when using -DWITH_NEWEST_QMI_COMMANDS
I have also backported these changes to the 1.14 branch:
https://gitlab.freedesktop.org/justinsg/ModemManager/-/tree/mm-1.14-justinsg
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Some minor fixes discovered when using -DWITH_NEWEST_QMI_COMMANDS
I have also backported these changes to the 1.14 branch:
https://gitlab.freedesktop.org/justinsg/ModemManager/-/tree/mm-1.14-justinsg