sierra: PCSTATE=0 needs to be treated as low-power mode

OFF only applies to a real shutdown, where the modem no longer replies.
This commit is contained in:
Aleksander Morgado
2014-05-05 20:30:45 +02:00
parent 771c83a73a
commit 0126eb6311
+1 -1
View File
@@ -191,7 +191,7 @@ pcstate_query_ready (MMBaseModem *self,
} else {
switch (state) {
case 0:
g_simple_async_result_set_op_res_gpointer (simple, GUINT_TO_POINTER (MM_MODEM_POWER_STATE_OFF), NULL);
g_simple_async_result_set_op_res_gpointer (simple, GUINT_TO_POINTER (MM_MODEM_POWER_STATE_LOW), NULL);
break;
case 1:
g_simple_async_result_set_op_res_gpointer (simple, GUINT_TO_POINTER (MM_MODEM_POWER_STATE_ON), NULL);