[ofono-autoconnect PATCH 7/7] ofono: be proactive with registration status

Samuel Ortiz sameo at linux.intel.com
Tue Jan 25 10:03:39 PST 2011


Hi Pekka,

On Mon, Jan 24, 2011 at 07:55:40PM +0200, Pekka.Pessi at nokia.com wrote:
> @@ -765,20 +770,26 @@ static void modem_roaming_changed(struct modem_data *modem,
>  					char const *status)
>  {
>  	struct connman_device *device = modem->device;
> -	connman_bool_t roaming;
> +	connman_bool_t roaming = FALSE;
> +	connman_bool_t registered = FALSE;
> +	connman_bool_t was_registered = modem->registered;
This variable is not used.

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/



More information about the connman mailing list