From 14e5c52f78e7ad23b18b111e3271cbecad6acf3f Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Tue, 8 Sep 2009 17:31:54 -0700 Subject: core: don't allow concurrent flashes on the same device Previously, a few operations (like disable) could trigger a modem flash in parallel with another flash. That's wrong, don't allow that. At the same time, add in finer-grained error checking on serial port speed operations, and fix a GSM generic bug that would send the POWER_UP string on disable. --- src/mm-errors.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mm-errors.c') diff --git a/src/mm-errors.c b/src/mm-errors.c index 0b0706fd..510fa6d0 100644 --- a/src/mm-errors.c +++ b/src/mm-errors.c @@ -69,6 +69,8 @@ mm_modem_error_get_type (void) ENUM_ENTRY (MM_MODEM_ERROR_GENERAL, "General"), ENUM_ENTRY (MM_MODEM_ERROR_OPERATION_NOT_SUPPORTED, "OperationNotSupported"), ENUM_ENTRY (MM_MODEM_ERROR_CONNECTED, "Connected"), + ENUM_ENTRY (MM_MODEM_ERROR_DISCONNECTED, "Disconnected"), + ENUM_ENTRY (MM_MODEM_ERROR_OPERATION_IN_PROGRESS, "OperationInProgress"), { 0, 0, 0 } }; -- cgit v1.2.3-70-g09d2