[PATCH 0/2] Serial port command completions not in idle

Aleksander Morgado aleksander at aleksander.es
Thu Mar 10 08:10:30 UTC 2016


The following commits remove the need of always completing the port serial
commands in an idle, and explicitly remove that requirement from the port
probing logic.

This change is now possible because the response array is now owned by the
command context itself (i.e. it's not the same internal array re-used during
the response parsing).

Comments?

Aleksander Morgado (2):
  port-serial: allow completions not in idle
  port-probe: simplify task completion

 src/mm-port-probe.c  | 230 ++++++++++++++++++---------------------------------
 src/mm-port-serial.c | 137 +++++++++++++++++++-----------
 2 files changed, 168 insertions(+), 199 deletions(-)

-- 
2.7.1



More information about the ModemManager-devel mailing list