[PATCH] icera: minor coding style fixes
Aleksander Morgado
aleksander at aleksander.es
Tue May 20 00:34:37 PDT 2014
On 20/05/14 08:45, Ben Chan wrote:
> ---
> plugins/icera/mm-broadband-bearer-icera.c | 4 ++--
> plugins/icera/mm-broadband-modem-icera.c | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
Pushed, thanks.
> diff --git a/plugins/icera/mm-broadband-bearer-icera.c b/plugins/icera/mm-broadband-bearer-icera.c
> index ad7ca06..82b9a58 100644
> --- a/plugins/icera/mm-broadband-bearer-icera.c
> +++ b/plugins/icera/mm-broadband-bearer-icera.c
> @@ -930,7 +930,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 ("%%IPDPCFG=%d,0,0,\"\",\"\"", ctx->cid);
> + command = g_strdup_printf ("%%IPDPCFG=%d,0,0,\"\",\"\"", ctx->cid);
> } else {
> gchar *quoted_user;
> gchar *quoted_password;
> @@ -1135,7 +1135,7 @@ static void
> mm_broadband_bearer_icera_init (MMBroadbandBearerIcera *self)
> {
> /* Initialize private data */
> - self->priv = G_TYPE_INSTANCE_GET_PRIVATE ((self),
> + self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
> MM_TYPE_BROADBAND_BEARER_ICERA,
> MMBroadbandBearerIceraPrivate);
>
> diff --git a/plugins/icera/mm-broadband-modem-icera.c b/plugins/icera/mm-broadband-modem-icera.c
> index e16eb18..52f8922 100644
> --- a/plugins/icera/mm-broadband-modem-icera.c
> +++ b/plugins/icera/mm-broadband-modem-icera.c
> @@ -1895,7 +1895,7 @@ static void
> mm_broadband_modem_icera_init (MMBroadbandModemIcera *self)
> {
> /* Initialize private data */
> - self->priv = G_TYPE_INSTANCE_GET_PRIVATE ((self),
> + self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
> MM_TYPE_BROADBAND_MODEM_ICERA,
> MMBroadbandModemIceraPrivate);
>
>
--
Aleksander
https://aleksander.es
More information about the ModemManager-devel
mailing list