diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2011-10-13 14:59:30 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2011-10-14 17:22:12 +0200 |
commit | fd9f2d2804a6ebffbc2365b56d34dcf18aaa9942 (patch) | |
tree | 777f3e1b29a40594811b10ed91391be98bb223ab /src/mm-utils.c | |
parent | 6e0e46e51e9b022577db6adeb986d3241da9bd4d (diff) |
serial: skip NUL bytes coming before real AT responses
Some Cinterion modems send a NUL byte before the "CONNECTED" reply to "ATD"
(only during the first ATD try anyway).
This fix will ignore any NUL byte leading the real response.
Diffstat (limited to 'src/mm-utils.c')
0 files changed, 0 insertions, 0 deletions