<div dir="ltr"><div>Hello, I'm trying to understand endpoint_select_configuration function behavior in case of HFP endpoint (module is bluez4-util.c). <br><br></div><div>We create<span style="font-family:courier new,monospace"> a2dp_sbc_t config <span style="font-family:arial,helvetica,sans-serif">(local variable struct)</span>;</span><br></div><div>Then goes it goes<br><span style="font-family:courier new,monospace"><br></span></div><div><div><span style="font-family:courier new,monospace">    if (dbus_message_has_path(m, ENDPOINT_PATH_HFP_AG) || dbus_message_has_path(m, ENDPOINT_PATH_HFP_HS))<br>        goto done;</span><br><br></div><div>Line below is <br></div><div><span style="font-family:courier new,monospace">    memset(&config, 0, sizeof(config)); //We don't call this as we go to goto label<br><br></span></div><div>In "done:" section we send uninitialized config via dbus.<br></div><div>Is it <span id="result_box" class="" lang="en"><span class="">intentionally or bug or it is just doesn't matter what we send in case of HFP there.<br><br></span></span></div><div><span id="result_box" class="" lang="en"><span class="">Thanks!<br></span></span></div></div></div>