Hi Giacinto,
+ const struct ofono_lte_default_attach_info *info;
And honestly, I'd just put this into lte_driver_data as well.
Nope you can't do this. This is the third time I nak-ed this part
I can't do what? I don't see what you are referring to.
There are two comments here. First is that this 'pending' info stuff
doesn't belong here.
Second is that you cannot hold a reference to an object owned by the
core. The driver cannot assume that it will be valid for the duration
of the asynchronous operation. E.g. the core might have created a
temporary object on the stack to pass to the driver and it will go
*poof* as soon as the driver function returns.
There is very strict separation between driver managed memory /
structures and ones owned by the core.
Regards,
-Denis
_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono