Commit 7d8e5225 authored by Chris T's avatar Chris T

A bit more cleaning up.....

parent c80d7faf
......@@ -523,10 +523,10 @@ pur_mm_get_modem_state (void)
mms_error("ModemManagerPlugin(): MM_MODEM_STATE_DISABLED");
mms_error("ModemManagerPlugin(): Turning on Modem....");
mm_modem_set_power_state_sync (modem->modem, MM_MODEM_POWER_STATE_ON, NULL, &error);
sleep(1);
if (error != NULL) {
g_warning ("ModemManagerPlugin(): Error setting power state: %s\n", error->message);
}
sleep(1);
}
} else {
mms_error("ModemManagerPlugin(): MM_MODEM_STATE_ENABLED");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment