diff options
author | Dan Williams <dcbw@redhat.com> | 2009-09-08 17:31:54 -0700 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2009-09-08 17:34:04 -0700 |
commit | 14e5c52f78e7ad23b18b111e3271cbecad6acf3f (patch) | |
tree | ee6929c990c63139e4209a94f3e2d8c617547f4a /introspection | |
parent | 6cf01d2ab698d05eb58bffa7e85f41024f5c0546 (diff) |
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.
Diffstat (limited to 'introspection')
-rw-r--r-- | introspection/mm-modem-error.xml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/introspection/mm-modem-error.xml b/introspection/mm-modem-error.xml index d80df6c1..200e093a 100644 --- a/introspection/mm-modem-error.xml +++ b/introspection/mm-modem-error.xml @@ -15,4 +15,22 @@ </tp:docstring> </tp:error> + <tp:error name="Connected"> + <tp:docstring> + Operation could not be performed while the modem is connected. + </tp:docstring> + </tp:error> + + <tp:error name="Disconnected"> + <tp:docstring> + Operation could not be performed while the modem is disconnected. + </tp:docstring> + </tp:error> + + <tp:error name="OperationInProgress"> + <tp:docstring> + Operation could not be performed because it is already in progress. + </tp:docstring> + </tp:error> + </tp:errors> |