diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2022-05-20 15:13:25 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2022-05-25 11:15:29 +0200 |
commit | 9fa1b32e34e24a710b1badece7becaa44e83fb94 (patch) | |
tree | 6a7b12d2ba86288e3b687fc12a842d847631d257 /cli/mmcli-output.h | |
parent | 63d02f9da251f8e83c837ed7fc7358bd4ea339a4 (diff) |
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.
Diffstat (limited to 'cli/mmcli-output.h')
-rw-r--r-- | cli/mmcli-output.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/mmcli-output.h b/cli/mmcli-output.h index 180debd4..309fc8e9 100644 --- a/cli/mmcli-output.h +++ b/cli/mmcli-output.h @@ -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, |