[PATCH 2/4] add create/destroy_interface to ofono_gprs_context_driver
Denis Kenzior
denkenz at gmail.com
Mon Nov 9 08:59:11 PST 2009
Hi Martin,
> @@ -57,6 +57,10 @@ struct ofono_gprs_context_driver {
> void (*deactivate_primary)(struct ofono_gprs_context *gc,
> unsigned int id,
> ofono_gprs_context_cb_t cb, void *data);
> + void (*create_interface)(struct ofono_gprs_context *gc,
> + struct ofono_gprs_primary_context *ctx);
> + void (*destroy_interface)(struct ofono_gprs_context *gc,
> + struct ofono_gprs_primary_context *ctx);
> };
I suggest we don't do this, but instead notify the core of the interface name
in 'activate_primary' callback, assuming the activate was successful.
Regards,
-Denis
More information about the ofono
mailing list