diff options
-rw-r--r-- | src/mm-broadband-bearer.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/mm-broadband-bearer.c b/src/mm-broadband-bearer.c index 779cd9a3..bf02c13a 100644 --- a/src/mm-broadband-bearer.c +++ b/src/mm-broadband-bearer.c @@ -1418,16 +1418,6 @@ data_flash_cdma_ready (MMPortSerial *data, mm_port_serial_flash_finish (data, res, &error); - /* Cleanup flow control */ - if (self->priv->flow_control != MM_FLOW_CONTROL_NONE) { - GError *flow_control_error = NULL; - - if (!mm_port_serial_set_flow_control (MM_PORT_SERIAL (data), MM_FLOW_CONTROL_NONE, &flow_control_error)) { - mm_dbg ("Couldn't reset flow control settings: %s", flow_control_error->message); - g_clear_error (&flow_control_error); - } - } - /* We kept the serial port open during connection, now we close that open * count */ mm_port_serial_close (data); @@ -1560,16 +1550,6 @@ data_flash_3gpp_ready (MMPortSerial *data, mm_port_serial_flash_finish (data, res, &error); - /* Cleanup flow control */ - if (self->priv->flow_control != MM_FLOW_CONTROL_NONE) { - GError *flow_control_error = NULL; - - if (!mm_port_serial_set_flow_control (MM_PORT_SERIAL (data), MM_FLOW_CONTROL_NONE, &flow_control_error)) { - mm_dbg ("Couldn't reset flow control settings: %s", flow_control_error->message); - g_clear_error (&flow_control_error); - } - } - /* We kept the serial port open during connection, now we close that open * count */ mm_port_serial_close (data); |