diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2011-11-11 00:06:11 +0100 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2011-11-13 20:25:19 +0100 |
commit | 9311c0025f70df98e4b47940e1398b8de5518668 (patch) | |
tree | da999fa1d884d1b067f772d645e9314ec8c31d41 /src/host/layer23/src/mobile/gsm48_cc.c | |
parent | 8f77cbecb4df9a8ce1a695ca24799d5c02da4ec1 (diff) |
host/mobile: Whitespace fixes, no functional changes
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'src/host/layer23/src/mobile/gsm48_cc.c')
-rw-r--r-- | src/host/layer23/src/mobile/gsm48_cc.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/host/layer23/src/mobile/gsm48_cc.c b/src/host/layer23/src/mobile/gsm48_cc.c index aa99ee23..da47874a 100644 --- a/src/host/layer23/src/mobile/gsm48_cc.c +++ b/src/host/layer23/src/mobile/gsm48_cc.c @@ -215,7 +215,7 @@ int mncc_dequeue(struct osmocom_ms *ms) struct gsm_mncc *mncc; struct msgb *msg; int work = 0; - + while ((msg = msgb_dequeue(&cc->mncc_upqueue))) { mncc = (struct gsm_mncc *)msg->data; if (ms->mncc_entity.mncc_recv) @@ -223,7 +223,7 @@ int mncc_dequeue(struct osmocom_ms *ms) work = 1; /* work done */ msgb_free(msg); } - + return work; } @@ -556,7 +556,7 @@ static int gsm48_cc_tx_setup(struct gsm_trans *trans) trans_free(trans); return rc; } - + /* Get free transaction_id */ transaction_id = trans_assign_trans_id(trans->ms, GSM48_PDISC_CC, 0); if (transaction_id < 0) { @@ -712,7 +712,7 @@ static int gsm48_cc_rx_alerting(struct gsm_trans *trans, struct msgb *msg) unsigned int payload_len = msgb_l3len(msg) - sizeof(*gh); struct tlv_parsed tp; struct gsm_mncc alerting; - + LOGP(DCC, LOGL_INFO, "received ALERTING\n"); gsm48_stop_cc_timer(trans); @@ -945,7 +945,7 @@ static int gsm48_cc_tx_alerting(struct gsm_trans *trans, void *arg) gsm48_encode_ssversion(nmsg, &alerting->ssversion); new_cc_state(trans, GSM_CSTATE_CALL_RECEIVED); - + return gsm48_cc_to_mm(nmsg, trans, GSM48_MMCC_DATA_REQ); } @@ -993,7 +993,7 @@ static int gsm48_cc_rx_connect_ack(struct gsm_trans *trans, struct msgb *msg) gsm48_stop_cc_timer(trans); new_cc_state(trans, GSM_CSTATE_ACTIVE); - + memset(&connect_ack, 0, sizeof(struct gsm_mncc)); connect_ack.callref = trans->callref; return mncc_recvmsg(trans->ms, trans, MNCC_SETUP_COMPL_IND, @@ -1996,7 +1996,7 @@ int mncc_tx_to_cc(void *inst, int msg_type, void *arg) msg_type, trans->cc.state); return 0; } - + rc = downstatelist[i].rout(trans, arg); return rc; @@ -2021,7 +2021,7 @@ static struct datastate { GSM48_MT_CC_ALERTING, gsm48_cc_rx_alerting}, {SBIT(GSM_CSTATE_INITIATED) | SBIT(GSM_CSTATE_MO_CALL_PROC) | - SBIT(GSM_CSTATE_CALL_DELIVERED), /* 5.2.1.6 */ + SBIT(GSM_CSTATE_CALL_DELIVERED), /* 5.2.1.6 */ GSM48_MT_CC_CONNECT, gsm48_cc_rx_connect}, /* mobile terminating call establishment */ |