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