diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-11-22 00:33:52 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-11-22 00:41:50 +0100 |
commit | 1c4c373b9f38227470b1e9b3e36a6696a0fa9716 (patch) | |
tree | 204764a73ce7651946e1a0f2b2b7ad860a1952fa /src/gsm | |
parent | bcf125c524482a442fd27938036a18f9bcc6e265 (diff) |
sms: Fix typos in the comments and log messages.
Diffstat (limited to 'src/gsm')
-rw-r--r-- | src/gsm/gsm0411_smc.c | 4 | ||||
-rw-r--r-- | src/gsm/gsm0411_smr.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/gsm/gsm0411_smc.c b/src/gsm/gsm0411_smc.c index 57431ef5..cd267a07 100644 --- a/src/gsm/gsm0411_smc.c +++ b/src/gsm/gsm0411_smc.c @@ -44,7 +44,7 @@ * MMSMS-REL-REQ. It is allowed to destroy this process while processing * this message. * - * There is expeption, if MMSMS-REL-IND is received from lower layer, the + * There is an exception, if MMSMS-REL-IND is received from lower layer, the * process returns to IDLE without sending MMSMS-REL-REQ. * */ @@ -523,7 +523,7 @@ int gsm411_smc_recv(struct gsm411_smc_inst *inst, int msg_type, /* find function for current state and message */ for (i = 0; i < SMCDATASLLEN; 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 == smcdatastatelist[i].type) 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) |