mm-sim-mbim: Fix compile failure if WITH_SUSPEND_RESUME is not set

Fixes 86f6d33513
This commit is contained in:
Pavan Holla
2022-08-09 09:05:27 +00:00
committed by Aleksander Morgado
parent bb310526dc
commit d9eb140b13
+5
View File
@@ -273,9 +273,14 @@ preload_subscriber_info (MMSimMbim *self,
}
self->priv->preload = TRUE;
#if defined WITH_SUSPEND_RESUME
/* If modem reports sync needed, we will reset the preloaded info */
setup_modem_sync_monitor (self);
#endif
message = mbim_message_subscriber_ready_status_query_new (NULL);
mbim_device_command (device,
message,