diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2021-06-15 12:41:07 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-06-15 12:41:41 +0200 |
commit | 8d0464749feb747b2295b31ae79629123457a250 (patch) | |
tree | 9e4b0a2cadfb1aab4bfb873511cb08733a51a094 /src | |
parent | b05df7b658f9cfb4c5e74a3e07913de689914a8f (diff) |
qmicli,nas: SIM reject info given last in --nas-get-system-info
Diffstat (limited to 'src')
-rw-r--r-- | src/qmicli/qmicli-nas.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/qmicli/qmicli-nas.c b/src/qmicli/qmicli-nas.c index c565cb7..379d9c9 100644 --- a/src/qmicli/qmicli-nas.c +++ b/src/qmicli/qmicli-nas.c @@ -2397,18 +2397,6 @@ get_system_info_ready (QmiClientNas *client, g_print ("\t\tCipher Domain: '%s'\n", qmi_nas_network_service_domain_get_string (cipher_domain)); } } - - /* Common */ - { - QmiNasSimRejectState sim_reject_info; - - if (qmi_message_nas_get_system_info_output_get_sim_reject_info ( - output, - &sim_reject_info, - NULL)) { - g_print ("\tSIM reject info: '%s'\n", qmi_nas_sim_reject_state_get_string (sim_reject_info)); - } - } } /* 5G SA */ @@ -2511,6 +2499,18 @@ get_system_info_ready (QmiClientNas *client, } } + /* Common */ + { + QmiNasSimRejectState sim_reject_info; + + if (qmi_message_nas_get_system_info_output_get_sim_reject_info ( + output, + &sim_reject_info, + NULL)) { + g_print ("\tSIM reject info: '%s'\n", qmi_nas_sim_reject_state_get_string (sim_reject_info)); + } + } + qmi_message_nas_get_system_info_output_unref (output); operation_shutdown (TRUE); } |