Hi Vinicius, > diff --git a/plugins/phonesim.c b/plugins/phonesim.c > index 26f96d0..9210e02 100644 > --- a/plugins/phonesim.c > +++ b/plugins/phonesim.c > @@ -929,8 +929,8 @@ static int localhfp_enable(struct ofono_modem *modem) > > g_at_chat_set_disconnect_function(chat, slc_failed, modem); > > - hfp_slc_info_init(info, HFP_VERSION_LATEST); > - info->chat = chat; > + info = hfp_slc_info_init(chat, HFP_VERSION_LATEST); > + g_at_chat_unref(chat); > hfp_slc_establish(info, slc_established, slc_failed, modem); > > return -EINPROGRESS; This part makes no sense. I refer you to localhfp_probe() function. Are you testing any of your changes? Regards, -Denis