diff options
author | Pavan Holla <pholla@chromium.org> | 2022-08-08 20:13:10 +0000 |
---|---|---|
committer | Aleksander Morgado <aleksandermj@chromium.org> | 2022-08-09 09:05:27 +0000 |
commit | d9eb140b131eed7988ff9161807d06d2498844c8 (patch) | |
tree | db397923dbfb17ac1b468f1627f9e015be95a752 /src | |
parent | bb310526dcabccc0ea1eaa9b237ea268976bf0ae (diff) |
mm-sim-mbim: Fix compile failure if WITH_SUSPEND_RESUME is not set
Fixes 86f6d3351351f7143a7f1c5fb90ddb465089ac69
Diffstat (limited to 'src')
-rw-r--r-- | src/mm-sim-mbim.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mm-sim-mbim.c b/src/mm-sim-mbim.c index 42214804..7f7110a7 100644 --- a/src/mm-sim-mbim.c +++ b/src/mm-sim-mbim.c @@ -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, |