On 06.02.2015 15:43, Patrik Flykt wrote:
> @@ -1261,6 +1312,17 @@ static gboolean context_changed(DBusConnection *conn,
>
> remove_network(modem);
> }
> +
> + } else if (g_str_equal(key, "Protocol") &&
> + dbus_message_iter_get_arg_type(&value) == DBUS_TYPE_STRING ) {
> + const char *ip_protocol;
> +
> + dbus_message_iter_get_basic(&value, &ip_protocol);
> +
> + set_context_ipconfig(modem->context, ip_protocol);
> +
> + if (modem->active)
> + set_connected(modem);
Otherwise everything else looks ok, but Protocol-message will never
happen when modem->active is true. At least I don't have a modem which
would allow changing protocol when modem is connected.
Br,
Pasi
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman