[PATCH] ofono: avoid extra SetProperty("Online") calls

Marcel Holtmann marcel at holtmann.org
Tue Jan 18 04:34:17 PST 2011


Hi Pekka,

> Do not request SetProperty("Online") if the modem is already in desired
> Online state.
> ---
>  plugins/ofono.c |   10 ++++++++++
>  1 files changed, 10 insertions(+), 0 deletions(-)

I am getting this warning:

  CC     plugins/ofono.o
cc1: warnings being treated as errors
plugins/ofono.c: In function ‘modem_change_online’:
plugins/ofono.c:282:20: error: comparison between signed and unsigned integer expressions

Regards

Marcel





More information about the connman mailing list