Hi Jeevaka,

On 12/07/2010 07:59 AM, [email protected] wrote:
> Hi Denis,
>  
>>> +   ofono_bool_t online;
>>
>> Why do you need to track this variable?  Can't you simply 
>> call ofono_modem_get_online()?
>>
> 
> This way calling of ofono_modem_get_online for each get or set request
> can be avoided.
> 

Sure, but it is doubtful you really need to 'optimize' those cases.  The
code is way cleaner without it in my opinion.

Regards,
-Denis
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to