aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2011-12-29 11:37:52 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-03-15 14:14:40 +0100
commit7b506bc8a6931568edc97b444e64e620b13c671b (patch)
treef39bb058806daddcbce544f45ca67abf1f2dfa0d /plugins
parent08b7620b7ab690c2b8f63247452b18adce7ae704 (diff)
iface-modem: renamed `modem_flow_control' to `setup_flow_control'
Changed broadband modem and Cinterion plugin accordingly.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mm-broadband-modem-cinterion.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/mm-broadband-modem-cinterion.c b/plugins/mm-broadband-modem-cinterion.c
index 9bb254ac..2d1ecdb4 100644
--- a/plugins/mm-broadband-modem-cinterion.c
+++ b/plugins/mm-broadband-modem-cinterion.c
@@ -198,7 +198,7 @@ modem_after_power_up (MMIfaceModem *self,
/* FLOW CONTROL */
static gboolean
-modem_flow_control_finish (MMIfaceModem *self,
+setup_flow_control_finish (MMIfaceModem *self,
GAsyncResult *res,
GError **error)
{
@@ -206,7 +206,7 @@ modem_flow_control_finish (MMIfaceModem *self,
}
static void
-modem_flow_control_ready (MMBroadbandModemCinterion *self,
+setup_flow_control_ready (MMBroadbandModemCinterion *self,
GAsyncResult *res,
GSimpleAsyncResult *operation_result)
{
@@ -224,7 +224,7 @@ modem_flow_control_ready (MMBroadbandModemCinterion *self,
}
static void
-modem_flow_control (MMIfaceModem *self,
+setup_flow_control (MMIfaceModem *self,
GAsyncReadyCallback callback,
gpointer user_data)
{
@@ -233,7 +233,7 @@ modem_flow_control (MMIfaceModem *self,
result = g_simple_async_result_new (G_OBJECT (self),
callback,
user_data,
- modem_flow_control);
+ setup_flow_control);
/* We need to enable RTS/CTS so that CYCLIC SLEEP mode works */
mm_base_modem_at_command (MM_BASE_MODEM (self),
@@ -241,7 +241,7 @@ modem_flow_control (MMIfaceModem *self,
3,
FALSE,
NULL, /* cancellable */
- (GAsyncReadyCallback)modem_flow_control_ready,
+ (GAsyncReadyCallback)setup_flow_control_ready,
result);
}
@@ -285,8 +285,8 @@ finalize (GObject *object)
static void
iface_modem_init (MMIfaceModem *iface)
{
- iface->modem_flow_control = modem_flow_control;
- iface->modem_flow_control_finish = modem_flow_control_finish;
+ iface->setup_flow_control = setup_flow_control;
+ iface->setup_flow_control_finish = setup_flow_control_finish;
iface->modem_after_power_up = modem_after_power_up;
iface->modem_after_power_up_finish = modem_after_power_up_finish;
iface->modem_power_down = modem_power_down;