Hi Jeevaka, On 12/07/2010 07:59 AM, Jeevaka.Badrappan(a)elektrobit.com 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