diff options
author | Ben Chan <benchan@chromium.org> | 2014-05-19 23:45:48 -0700 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2014-05-20 09:31:31 +0200 |
commit | bdab75d0b8e7bbdd1a6a561c819a801f5498406a (patch) | |
tree | 66ffadb854ebfbb80e21002addf7cc07bb6486d3 | |
parent | f5d7213a3cd5f1026d131c70e97c8158d4c92a42 (diff) |
option,hso: minor coding style fixes
-rw-r--r-- | plugins/option/mm-broadband-bearer-hso.c | 16 | ||||
-rw-r--r-- | plugins/option/mm-broadband-modem-hso.c | 2 | ||||
-rw-r--r-- | plugins/option/mm-broadband-modem-option.c | 2 |
3 files changed, 10 insertions, 10 deletions
diff --git a/plugins/option/mm-broadband-bearer-hso.c b/plugins/option/mm-broadband-bearer-hso.c index 0f361f4d..4b128e5f 100644 --- a/plugins/option/mm-broadband-bearer-hso.c +++ b/plugins/option/mm-broadband-bearer-hso.c @@ -568,12 +568,12 @@ authenticate_ready (MMBaseModem *modem, } const gchar *auth_commands[] = { - "$QCPDPP", - /* Icera-based devices (GI0322/Quicksilver, iCON 505) don't implement - * $QCPDPP, but instead use _OPDPP with the same arguments. - */ - "_OPDPP", - NULL + "$QCPDPP", + /* Icera-based devices (GI0322/Quicksilver, iCON 505) don't implement + * $QCPDPP, but instead use _OPDPP with the same arguments. + */ + "_OPDPP", + NULL }; static void @@ -600,7 +600,7 @@ authenticate (Dial3gppContext *ctx) /* Both user and password are required; otherwise firmware returns an error */ if (!user || !password || allowed_auth == MM_BEARER_ALLOWED_AUTH_NONE) { mm_dbg ("Not using authentication"); - command = g_strdup_printf ("%s=%d,0", + command = g_strdup_printf ("%s=%d,0", auth_commands[ctx->auth_idx], ctx->cid); } else { @@ -828,7 +828,7 @@ static void mm_broadband_bearer_hso_init (MMBroadbandBearerHso *self) { /* Initialize private data */ - self->priv = G_TYPE_INSTANCE_GET_PRIVATE ((self), + self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self, MM_TYPE_BROADBAND_BEARER_HSO, MMBroadbandBearerHsoPrivate); } diff --git a/plugins/option/mm-broadband-modem-hso.c b/plugins/option/mm-broadband-modem-hso.c index fd3df34d..a1899597 100644 --- a/plugins/option/mm-broadband-modem-hso.c +++ b/plugins/option/mm-broadband-modem-hso.c @@ -755,7 +755,7 @@ static void mm_broadband_modem_hso_init (MMBroadbandModemHso *self) { /* Initialize private data */ - self->priv = G_TYPE_INSTANCE_GET_PRIVATE ((self), + self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self, MM_TYPE_BROADBAND_MODEM_HSO, MMBroadbandModemHsoPrivate); diff --git a/plugins/option/mm-broadband-modem-option.c b/plugins/option/mm-broadband-modem-option.c index c8409dc1..cf02ba30 100644 --- a/plugins/option/mm-broadband-modem-option.c +++ b/plugins/option/mm-broadband-modem-option.c @@ -1203,7 +1203,7 @@ static void mm_broadband_modem_option_init (MMBroadbandModemOption *self) { /* Initialize private data */ - self->priv = G_TYPE_INSTANCE_GET_PRIVATE ((self), + self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self, MM_TYPE_BROADBAND_MODEM_OPTION, MMBroadbandModemOptionPrivate); self->priv->after_power_up_wait_id = 0; |