diff options
author | Dan Williams <dcbw@redhat.com> | 2010-05-26 11:43:06 -0700 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2010-05-26 11:43:06 -0700 |
commit | d5b8019d66870ed98d58095fa6b173a880fd3966 (patch) | |
tree | b9e8e2eb57b1c57440c1881fc56e5886f3af99c5 /src/mm-errors.h | |
parent | 6c3ae7d8fd3665eab02aab014c5ea46809312a29 (diff) |
serial: fix cleanup of flash function (rh #591728)
The flash function could be called when the port was closed, and since
the flash function would only be canceled when the port was open,
it could trigger after the port object was destroyed.
Diffstat (limited to 'src/mm-errors.h')
-rw-r--r-- | src/mm-errors.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mm-errors.h b/src/mm-errors.h index b6891c35..13a531d5 100644 --- a/src/mm-errors.h +++ b/src/mm-errors.h @@ -25,6 +25,7 @@ enum { MM_SERIAL_ERROR_RESPONSE_TIMEOUT = 2, MM_SERIAL_ERROR_OPEN_FAILED_NO_DEVICE = 3, MM_SERIAL_ERROR_FLASH_FAILED = 4, + MM_SERIAL_ERROR_NOT_OPEN = 5, }; #define MM_SERIAL_ERROR (mm_serial_error_quark ()) |