[PATCH 2/7] [gsm_04_11] Fix typos in debug message / comments

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Sylvain Munaut 246tnt at gmail.com
Fri Dec 18 17:28:07 UTC 2009


From: Sylvain Munaut <tnt at 246tNt.com>

Signed-off-by: Sylvain Munaut <tnt at 246tNt.com>
---
 openbsc/src/gsm_04_11.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/openbsc/src/gsm_04_11.c b/openbsc/src/gsm_04_11.c
index 4930e5c..d256f7e 100644
--- a/openbsc/src/gsm_04_11.c
+++ b/openbsc/src/gsm_04_11.c
@@ -173,7 +173,7 @@ static int gsm411_cp_sendmsg(struct msgb *msg, struct gsm_trans *trans,
 		DEBUGP(DSMS, "TX: CP-ACK ");
 		break;
 	case GSM411_MT_CP_ERROR:
-		DEBUGP(DSMS, "TX: CP-ACK ");
+		DEBUGP(DSMS, "TX: CP-ERROR ");
 		break;
 	}
 
@@ -958,7 +958,7 @@ int gsm0411_rcv_sms(struct msgb *msg, u_int8_t link_id)
 		bsc_del_timer(&trans->sms.cp_timer);
 
 		if (!trans->sms.is_mt) {
-			/* FIXME: we have sont one CP-DATA, which was now
+			/* FIXME: we have sent one CP-DATA, which was now
 			 * acknowledged.  Check if we want to transfer more,
 			 * i.e. multi-part message */
 			trans->sms.cp_state = GSM411_CPS_IDLE;
-- 
1.6.5.1





More information about the OpenBSC mailing list