port: remove 'carrier-detect' property

It is no longer used since commit 736aa0d2d.
This commit is contained in:
Aleksander Morgado
2013-11-15 17:25:33 +01:00
parent 3d4c143b40
commit 85d5d96824
7 changed files with 4 additions and 70 deletions
@@ -53,7 +53,6 @@ setup_ports (MMBroadbandModem *self)
continue;
g_object_set (ports[i],
MM_PORT_CARRIER_DETECT, FALSE,
MM_SERIAL_PORT_SEND_DELAY, (guint64) 0,
NULL);
}
-4
View File
@@ -281,10 +281,6 @@ mm_common_sierra_setup_ports (MMBroadbandModem *self)
if (!ports[i])
continue;
g_object_set (ports[i],
MM_PORT_CARRIER_DETECT, FALSE,
NULL);
if (i == 1) {
/* Built-in echo removal conflicts with the APP1 port's limited AT
* parser, which doesn't always prefix responses with <CR><LF>.
@@ -139,25 +139,9 @@ modem_3gpp_cleanup_unsolicited_events (MMIfaceModem3gpp *self,
static void
setup_ports (MMBroadbandModem *self)
{
MMAtSerialPort *ports[2];
guint i;
/* Call parent's setup ports first always */
MM_BROADBAND_MODEM_CLASS (mm_broadband_modem_zte_icera_parent_class)->setup_ports (self);
ports[0] = mm_base_modem_peek_port_primary (MM_BASE_MODEM (self));
ports[1] = mm_base_modem_peek_port_secondary (MM_BASE_MODEM (self));
/* Configure AT ports */
for (i = 0; i < 2; i++) {
if (!ports[i])
continue;
g_object_set (ports[i],
MM_PORT_CARRIER_DETECT, FALSE,
NULL);
}
/* Now reset the unsolicited messages we'll handle when enabled */
mm_common_zte_set_unsolicited_events_handlers (MM_BROADBAND_MODEM (self),
MM_BROADBAND_MODEM_ZTE_ICERA (self)->priv->unsolicited_setup,
-16
View File
@@ -704,25 +704,9 @@ modem_3gpp_cleanup_unsolicited_events (MMIfaceModem3gpp *self,
static void
setup_ports (MMBroadbandModem *self)
{
MMAtSerialPort *ports[2];
guint i;
/* Call parent's setup ports first always */
MM_BROADBAND_MODEM_CLASS (mm_broadband_modem_zte_parent_class)->setup_ports (self);
ports[0] = mm_base_modem_peek_port_primary (MM_BASE_MODEM (self));
ports[1] = mm_base_modem_peek_port_secondary (MM_BASE_MODEM (self));
/* Configure AT ports */
for (i = 0; i < 2; i++) {
if (!ports[i])
continue;
g_object_set (ports[i],
MM_PORT_CARRIER_DETECT, FALSE,
NULL);
}
/* Now reset the unsolicited messages we'll handle when enabled */
mm_common_zte_set_unsolicited_events_handlers (MM_BROADBAND_MODEM (self),
MM_BROADBAND_MODEM_ZTE (self)->priv->unsolicited_setup,