t_active_call_count++;
if (t_active_call_count >= 2) {
- if (!t_active_call->call_conference)
+ if (t_active_call->call_conference == FALSE)
t_active_call->call_conference = TRUE;
t_call->call_conference = TRUE;
}
t_held_call_count++;
if (t_held_call_count >= 2) {
- if (!t_held_call->call_conference)
+ if (t_held_call->call_conference == FALSE)
t_held_call->call_conference = TRUE;
t_call->call_conference = TRUE;
}
}
if (t_held_call_count == 1) {
- if (t_held_call->call_conference)
- t_held_call->call_conference = FALSE;
- }
+ t_held_call->call_conference = FALSE;
- if (t_active_call_count == 1) {
- if (t_active_call->call_conference)
- t_active_call->call_conference = FALSE;
- }
+ if (t_active_call_count == 1)
+ t_active_call->call_conference = FALSE;
}
static gboolean __bt_hfp_on_call_hold_timeout(gpointer t_data)