modem-helpers-mbim: allow optional outputs in mm_signal_from_mbim_signal_state()
Fixes 470dff235c
This commit is contained in:

committed by
Aleksander Morgado

parent
eeba2ff32b
commit
d95114a576
@@ -1160,12 +1160,18 @@ mm_signal_from_mbim_signal_state (MbimDataClass data_class,
|
||||
MMSignal **last_updated = NULL;
|
||||
guint n_out_updated = 0;
|
||||
|
||||
*out_cdma = NULL;
|
||||
*out_evdo = NULL;
|
||||
*out_gsm = NULL;
|
||||
*out_umts = NULL;
|
||||
*out_lte = NULL;
|
||||
*out_nr5g = NULL;
|
||||
if (out_cdma)
|
||||
*out_cdma = NULL;
|
||||
if (out_evdo)
|
||||
*out_evdo = NULL;
|
||||
if (out_gsm)
|
||||
*out_gsm = NULL;
|
||||
if (out_umts)
|
||||
*out_umts = NULL;
|
||||
if (out_lte)
|
||||
*out_lte = NULL;
|
||||
if (out_nr5g)
|
||||
*out_nr5g = NULL;
|
||||
|
||||
/* When MBIMEx v2.0 is available, we get LTE+5GNR information reported
|
||||
* in the RSRP/SNR list of items. */
|
||||
|
Reference in New Issue
Block a user