mirror of
https://gitlab.com/mobian1/eg25-manager.git
synced 2025-08-29 07:12:08 +02:00
Fix compile error when not using Modem Manager.
This commit is contained in:
@@ -28,12 +28,15 @@ static gboolean check_modem_resume(struct EG25Manager *manager)
|
||||
{
|
||||
manager->modem_recovery_timer = 0;
|
||||
|
||||
#ifdef HAVE_MMGLIB
|
||||
if (manager->mm_modem) {
|
||||
resume_ok(manager);
|
||||
} else {
|
||||
return FALSE;
|
||||
}
|
||||
#endif
|
||||
|
||||
g_message("Modem wasn't probed in time, restart it!");
|
||||
modem_reset(manager);
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user