Skip to content

shared-qmi,iface-modem : Do not reprobe on hotswap in inactive slot

Pavan Holla requested to merge pholla/ModemManager:ignore_inactive_slot_3 into master

Prior to this change, a hotswap on the inactive slot would result in reprobe of the modem. With this change, the sim object would be updated, but no reprobe will be performed. The advantage is

  1. we do not drop connections on the active slot
  2. Slot status on the inactive slot is susceptible to firmware bugs. We have seen scenarios where the inactive slot is reported as absent/ iccid={0}, followed by a correction. We should not reprobe the modem if our active slot hasn't changed.

The disadvantage is that we won't be able to load imsi and operator name for the inactive slot on hotswap.

Edited by Pavan Holla

Merge request reports