aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-simple-connect-properties.c
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2013-02-12 15:24:15 -0600
committerDan Williams <dcbw@redhat.com>2013-02-12 15:26:21 -0600
commit625e1c4884215bb9989dad6c9868c06ba76a4d94 (patch)
treefc5d6b0fad034bb67c14d19bb967dfc2fb20c0c9 /libmm-glib/mm-simple-connect-properties.c
parent67fcac254150a34c7c1467a7857cad7509ca41ff (diff)
serial-port: don't steal data from PPP when connected
There was a race where if PPP was slow to start, MM could read the first bits of PPP from the port, which MM shouldn't really do. So if the port is connected, don't read any data and let pppd do its thing. See the logs in https://bugzilla.gnome.org/show_bug.cgi?id=624956#c10 for an example of this: DEBUG: <1280300196.929489> (ttyACM0): <-- '<CR><LF>CONNECT<CR><LF>' DEBUG: <1280300196.929761> (ttyACM0): port now connected DEBUG: <1280300196.929853> Modem /org/freedesktop/ModemManager/Modems/0: state changed (connecting -> connected) DEBUG: <1280300196.929954> (ttyACM0): simple connect state 6 DEBUG: <1280300196.933432> (ttyACM0): <-- '~\-1}#\-64!}!} } }2}#}$\-64#}!}$}%\-36}"}&} }*} } g}%~'
Diffstat (limited to 'libmm-glib/mm-simple-connect-properties.c')
0 files changed, 0 insertions, 0 deletions