diff options
author | Nathan Williams <njw@chromium.org> | 2011-11-23 16:16:20 -0500 |
---|---|---|
committer | Jiří Klimeš <jklimes@redhat.com> | 2011-11-30 09:38:42 +0100 |
commit | d5d9eec2b52363a7460aeec0c020b1c6a7af6b03 (patch) | |
tree | fef2e75e78250e8a17b7ec1cb3c9989424a0d43f /src/mm-serial-parsers.c | |
parent | 44194ac04d7926cb80de03fe95ce98bd64a1c6c6 (diff) |
serial: report port-not-open in queueing commands via callback
Reporting errors instead of just returning permits routines like
mm-generic-gsm.c:simple_get_status() to work again, as their callbacks
get the error they are expecting. To make this work, adapt get_csq_done()
to handle a NULL response when error is set, and make sure that multiple
errors don't step on each other in the mm_callback_info_chain() sequence
created by simple_get_status().
Change-Id: Ie3a72b1ce71b7f117e8b1f3da7a406c4d2da9e02
Diffstat (limited to 'src/mm-serial-parsers.c')
0 files changed, 0 insertions, 0 deletions