[PATCH 02/12] session: refactor and optimize how notification are raised and when

Daniel Wagner wagi at monom.org
Thu Feb 9 07:17:25 PST 2012


Hi Tomasz,

On 08.02.2012 15:13, Tomasz Bursztyka wrote:
>  static void deselect_and_disconnect(struct connman_session *session,
> @@ -922,12 +947,13 @@ static void deselect_and_disconnect(struct connman_session *session,
>  {
>  	struct session_info *info = session->info;
>  
> -	session->info_dirty |= deselect_service(info);
> +	deselect_service(info);
>  
>  	info->reason = reason;
> +	session->info_last->entry = NULL;
>  }

session->info_last->entry = NULL;

is wrong. Without this line the patch is working fine.


cheers,
daniel



More information about the connman mailing list