broadband-modem-mbim: skip modem reprobe when unlocking SIM card
Removed code was introduced as a part of carrier lock support but it
affects also unlocking SIM card locks which is incorrect.
(carrier lock support commit: e3a1206c57)
This commit is contained in:
@@ -5163,14 +5163,6 @@ basic_connect_notification_subscriber_ready_status (MMBroadbandModemMbim *self,
|
||||
active_sim_event = TRUE;
|
||||
}
|
||||
|
||||
if ((self->priv->enabled_cache.last_ready_state != MBIM_SUBSCRIBER_READY_STATE_DEVICE_LOCKED &&
|
||||
ready_state == MBIM_SUBSCRIBER_READY_STATE_DEVICE_LOCKED) ||
|
||||
(self->priv->enabled_cache.last_ready_state == MBIM_SUBSCRIBER_READY_STATE_DEVICE_LOCKED &&
|
||||
ready_state != MBIM_SUBSCRIBER_READY_STATE_DEVICE_LOCKED)) {
|
||||
mm_obj_dbg (self, "Lock state change detected");
|
||||
active_sim_event = TRUE;
|
||||
}
|
||||
|
||||
self->priv->enabled_cache.last_ready_state = ready_state;
|
||||
|
||||
if (active_sim_event) {
|
||||
|
||||
Reference in New Issue
Block a user