aboutsummaryrefslogtreecommitdiffstats
path: root/src/gsm/gsm0411_smr.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-11-22 00:33:52 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-11-22 00:41:50 +0100
commit1c4c373b9f38227470b1e9b3e36a6696a0fa9716 (patch)
tree204764a73ce7651946e1a0f2b2b7ad860a1952fa /src/gsm/gsm0411_smr.c
parentbcf125c524482a442fd27938036a18f9bcc6e265 (diff)
sms: Fix typos in the comments and log messages.
Diffstat (limited to 'src/gsm/gsm0411_smr.c')
-rw-r--r--src/gsm/gsm0411_smr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gsm/gsm0411_smr.c b/src/gsm/gsm0411_smr.c
index 61ffacf3..8003bc82 100644
--- a/src/gsm/gsm0411_smr.c
+++ b/src/gsm/gsm0411_smr.c
@@ -42,7 +42,7 @@
*
* Sending Abort/Release (MNSMS-ABORT-REQ or MNSMS-REL-REQ) may cause the
* lower layer to become IDLE. Then it is allowed to destroy this instance,
- * so sending this this MUST be the last thing that is done.
+ * so sending this MUST be the last thing that is done.
*
*/
@@ -337,7 +337,7 @@ static int gsm411_mnsms_error_ind_tx(struct gsm411_smr_inst *inst,
struct msgb *msg)
{
LOGP(DLSMS, LOGL_DEBUG,
- SMR_LOG_STR "RX SMS MNSMS-ERROR-IND\n", inst->id);
+ SMR_LOG_STR "TX SMS MNSMS-ERROR-IND\n", inst->id);
new_rp_state(inst, GSM411_RPS_IDLE);
inst->rl_recv(inst, GSM411_SM_RL_REPORT_IND, msg);
gsm411_send_release(inst);
@@ -463,7 +463,7 @@ int gsm411_smr_recv(struct gsm411_smr_inst *inst, int msg_type,
/* find function for current state and message */
for (i = 0; i < SMRDATASLLEN; i++) {
- /* state must machtch, MM message must match
+ /* state must match, MM message must match
* CP msg must match only in case of MMSMS_DATA_IND
*/
if ((msg_type == smrdatastatelist[i].type)