summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mm-serial-port.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mm-serial-port.c b/src/mm-serial-port.c
index 497d14cb7..36f401aec 100644
--- a/src/mm-serial-port.c
+++ b/src/mm-serial-port.c
@@ -713,6 +713,10 @@ data_available (GIOChannel *source,
if (info && (info->started == TRUE) && (info->done == FALSE))
return TRUE;
+ /* Don't steal data from PPP if we're connected */
+ if (mm_port_get_connected (MM_PORT (self)))
+ return TRUE;
+
do {
GError *err = NULL;