summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gsm/lapd_core.c12
-rw-r--r--src/gsm/lapdm.c4
2 files changed, 8 insertions, 8 deletions
diff --git a/src/gsm/lapd_core.c b/src/gsm/lapd_core.c
index d14063e2..1f1ca83e 100644
--- a/src/gsm/lapd_core.c
+++ b/src/gsm/lapd_core.c
@@ -548,7 +548,7 @@ static int lapd_reestablish(struct lapd_datalink *dl)
msg = lapd_msgb_alloc(0, "DUMMY");
osmo_prim_init(&dp.oph, 0, PRIM_DL_EST, PRIM_OP_REQUEST, msg);
-
+
return lapd_est_req(&dp, &dl->lctx);
}
@@ -1500,7 +1500,7 @@ static int lapd_rx_i(struct msgb *msg, struct lapd_msg_ctx *lctx)
LOGP(DLLAPD, LOGL_INFO, "I received in state %s on SAPI(%u) (dl=%p)\n",
lapd_state_name(dl->state), lctx->sapi, dl);
-
+
/* G.2.2 Wrong value of the C/R bit */
if (lctx->cr == dl->cr.rem2loc.resp) {
LOGP(DLLAPD, LOGL_ERROR,
@@ -1781,7 +1781,7 @@ static int lapd_est_req(struct osmo_dlsap_prim *dp, struct lapd_msg_ctx *lctx)
dl->tx_hist[0].more = 0;
/* set Vs to 0, because it is used as index when resending SABM */
dl->v_send = 0;
-
+
/* Set states */
dl->own_busy = dl->peer_busy = 0;
dl->retrans_ctr = 0;
@@ -2008,7 +2008,7 @@ static int lapd_res_req(struct osmo_dlsap_prim *dp, struct lapd_msg_ctx *lctx)
LOGP(DLLAPD, LOGL_INFO,
"perform re-establishment (SABM) length=%d (dl=%p)\n",
msg->len, dl);
-
+
/* be sure that history is empty */
lapd_dl_flush_hist(dl);
@@ -2119,7 +2119,7 @@ static int lapd_rel_req(struct osmo_dlsap_prim *dp, struct lapd_msg_ctx *lctx)
dl->tx_hist[0].more = 0;
/* set Vs to 0, because it is used as index when resending DISC */
dl->v_send = 0;
-
+
/* Set states */
dl->own_busy = dl->peer_busy = 0;
dl->retrans_ctr = 0;
@@ -2155,7 +2155,7 @@ static const struct l2downstate {
} l2downstatelist[] = {
/* create and send UI command */
{ALL_STATES,
- PRIM_DL_UNIT_DATA, PRIM_OP_REQUEST,
+ PRIM_DL_UNIT_DATA, PRIM_OP_REQUEST,
"DL-UNIT-DATA-REQUEST", lapd_udata_req},
/* create and send SABM command */
diff --git a/src/gsm/lapdm.c b/src/gsm/lapdm.c
index 5efe7558..7ca2b3e3 100644
--- a/src/gsm/lapdm.c
+++ b/src/gsm/lapdm.c
@@ -378,7 +378,7 @@ static int send_rslms_rll_l3_ui(struct lapdm_msg_ctx *mctx, struct msgb *msg)
rllh->data[2] = RSL_IE_MS_POWER;
rllh->data[3] = mctx->tx_power_ind;
-
+
return rslms_sendmsg(msg, mctx->dl->entity);
}
@@ -1086,7 +1086,7 @@ static int l2_ph_chan_conf(struct msgb *msg, struct lapdm_entity *le, uint32_t f
ref->t2 = tm.t2;
ref->t3_low = tm.t3 & 0x7;
ref->t3_high = tm.t3 >> 3;
-
+
return rslms_sendmsg(msg, le);
}