Skip to content

wwan: do not insist SIM ID being present

It is perfectly possible for mm_sim_dup_identifier() to return NULL if the SIM ID wasn't provided by the modem for any reason, leading to an assertion failure:

(gnome-control-center:910641): cc-wwan-data-CRITICAL **: 12:43:51.573: cc_wwan_data_set_default_apn: assertion 'self->sim_id != NULL' failed

Handle the NULL SIM ID gracefully.

Merge request reports