*/
nc->clip_validity = oc->clip_validity;
- if (memcmp(nc, oc, sizeof(struct ofono_call)) && !nc->type)
+ if (memcmp(nc, oc, sizeof(struct ofono_call)) &&
+ !nc->type)
ofono_voicecall_notify(vc, nc);
n = n->next;
unsigned int held_status = 0x1 << 1;
if (vd->ag_mpty_features & AG_CHLD_0) {
- hfp_template("AT+CHLD=0", vc, generic_cb, held_status, cb, data);
+ hfp_template("AT+CHLD=0", vc, generic_cb, held_status,
+ cb, data);
return;
}
call = create_call(vc, 0, 1, 5, num, num_type, validity);
if (!call) {
- ofono_error("malloc call structfailed. Call management is fubar");
+ ofono_error("malloc call struct failed. "
+ "Call management is fubar");
return;
}
/* Look for dialing or alerting calls on the new list */
n = find_dialing(calls);
- /* Let us find if we have done the dial from HF by looking for
+ /* Let us find if we have done the dial from HF by looking for
* existing dialing or alerting calls
*/
o = find_dialing(vd->calls);
if (o) {
struct ofono_call *call = o->data;
-
+
call->status = CALL_STATUS_ALERTING;
ofono_voicecall_notify(vc, call);
}
-
+
break;
}