Skip to content

device: launch modem initialization after reprobe

The mm_device_create_modem() was updated so that it would not run the modem initialization implicitly. Due to this change, we must ensure the modem initialization is run after a modem reprobe operation, e.g. when switching SIM slots.

The logic to run the modem initialization is moved to MMDevice for simplicity and clarity.

Fixes: 04d826f5

Merge request reports