Skip to content
  • Aleksander Morgado's avatar
    wwan: rework when settings/device are blocked for autoconnection · 90e9695a
    Aleksander Morgado authored and Thomas Haller's avatar Thomas Haller committed
    The reasons to block autoconnection at settings level are not the same
    as the ones to block autoconnection at device level.
    
    E.g. if the SIM-PIN is wrong, you may want to block autoconnection
    both at settings level (as the PIN configured in settings is wrong)
    and at device level (so that no other setting is tried automatically).
    
    For some other reasons, you may want to block autoconnection only at
    setting level (e.g. wrong APN).
    
    And for some other reasons you may want to block autoconnection at
    device level only (e.g. SIM missing), so that the autoconnection
    blocking is removed when the device goes away. This is especially
    important with SIM hotplug events processed by ModemManager, as a
    device without SIM will be removed from MM when a new SIM is
    inserted, so that a completely new object is exposed in MM with the
    newly detected SIM.
    
    https://github.com/NetworkManager/NetworkManager/pull/259
    90e9695a