[PATCH 1/1] add netmask to hso gprs-context driver
Marcel Holtmann
marcel at holtmann.org
Thu Dec 24 22:48:48 PST 2009
Hi Martin,
> diff --git a/drivers/hsomodem/gprs-context.c
> b/drivers/hsomodem/gprs-context.c
>
> index 0526fcc..721a017 100644
>
> --- a/drivers/hsomodem/gprs-context.c
>
> +++ b/drivers/hsomodem/gprs-context.c
>
> @@ -47,6 +47,8 @@
>
> #define AUTH_BUF_LENGTH OFONO_GPRS_MAX_USERNAME_LENGTH + \
>
> OFONO_GPRS_MAX_PASSWORD_LENGTH + 128
>
>
>
> +#define STATIC_IP_NETMASK "255.255.255.255"
>
> +
>
> static const char *none_prefix[] = { NULL };
>
> static const char *owandata_prefix[] = { "_OWANDATA:", NULL };
>
>
>
> @@ -274,7 +276,7 @@ static void owandata_cb(gboolean ok, GAtResult
> *result, gpointer user_data)
>
> ofono_info("IP: %s, Gateway: %s", ip, gateway);
>
> ofono_info("DNS: %s, %s", dns1, dns2);
>
>
>
> - CALLBACK_WITH_SUCCESS(gcd->up_cb, interface, TRUE, ip, NULL,
>
> + CALLBACK_WITH_SUCCESS(gcd->up_cb, interface, TRUE, ip,
> STATIC_IP_NETMASK,
>
> gateway, dns, gcd->cb_data);
>
your emails are all messed up. You are using multi-part MIME messages
with messed up context. I don't know what's wrong here, but this way I
am not able to apply any of your patches. Just use "git send-email" and
use linux.intel.com as SMTP server. That should do the right thing.
Regards
Marcel
More information about the ofono
mailing list