cli: don't print signal quality unless modem is enabled

We don't have a clear way to report "unknown" signal quality, so for
now just skip printing it altogether in the mmcli human output if the
modem is not yet enabled.
This commit is contained in:
Aleksander Morgado
2022-05-20 15:13:25 +02:00
parent 63d02f9da2
commit 9fa1b32e34
3 changed files with 11 additions and 6 deletions

View File

@@ -381,7 +381,8 @@ void mmcli_output_listitem (MmcF field,
/******************************************************************************/
/* Custom output management */
void mmcli_output_signal_quality (guint value,
void mmcli_output_signal_quality (MMModemState state,
guint value,
gboolean recent);
void mmcli_output_start_date (guint64 value);
void mmcli_output_state (MMModemState state,