summaryrefslogtreecommitdiffstats
path: root/drivers/hfpmodem
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2009-12-09 02:41:16 -0600
committerDenis Kenzior <denkenz@gmail.com>2009-12-09 02:41:16 -0600
commitb95025ab01c2b5f51cc42fcd59d1bcb32369b450 (patch)
tree0a7fa9babcd47ddcd0421fd772b27f6878b6162a /drivers/hfpmodem
parent028dc812be06ff6f2d2a93ea64ae29e1cd2aa4fc (diff)
downloadofono-b95025ab01c2b5f51cc42fcd59d1bcb32369b450.tar.bz2
Style: Fix style issues in hfpmodem
Diffstat (limited to 'drivers/hfpmodem')
-rw-r--r--drivers/hfpmodem/voicecall.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/drivers/hfpmodem/voicecall.c b/drivers/hfpmodem/voicecall.c
index 3ce021f0..71f14f69 100644
--- a/drivers/hfpmodem/voicecall.c
+++ b/drivers/hfpmodem/voicecall.c
@@ -258,7 +258,8 @@ static void clcc_poll_cb(gboolean ok, GAtResult *result, gpointer user_data)
*/
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;
@@ -453,7 +454,8 @@ static void hfp_release_all_held(struct ofono_voicecall *vc,
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;
}
@@ -669,7 +671,8 @@ static void ccwa_notify(GAtResult *result, gpointer user_data)
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;
}
@@ -891,7 +894,7 @@ static void sync_dialing_cb(gboolean ok, GAtResult *result, gpointer user_data)
/* 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);
@@ -1007,11 +1010,11 @@ static void ciev_callsetup_notify(struct ofono_voicecall *vc,
if (o) {
struct ofono_call *call = o->data;
-
+
call->status = CALL_STATUS_ALERTING;
ofono_voicecall_notify(vc, call);
}
-
+
break;
}