From 9764331062643d5b0771d2a93e6e503f0c029a9a Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 17 Jun 2010 16:41:25 +0800 Subject: bsc_api: Move gsm48_rcvmsg into the BSC API and dispatch. The next step in the way to the BSC API. We have a clear a new connection was opened signal now... and the MSC could use it... --- openbsc/src/gsm_04_11.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbsc/src/gsm_04_11.c') diff --git a/openbsc/src/gsm_04_11.c b/openbsc/src/gsm_04_11.c index a9eee8376..cb7cf8520 100644 --- a/openbsc/src/gsm_04_11.c +++ b/openbsc/src/gsm_04_11.c @@ -913,7 +913,7 @@ static int gsm411_tx_cp_error(struct gsm_trans *trans, u_int8_t cause) /* Entry point for incoming GSM48_PDISC_SMS from abis_rsl.c */ int gsm0411_rcv_sms(struct gsm_subscriber_connection *conn, - struct msgb *msg, u_int8_t link_id) + struct msgb *msg) { struct gsm48_hdr *gh = msgb_l3(msg); u_int8_t msg_type = gh->msg_type; @@ -940,7 +940,7 @@ int gsm0411_rcv_sms(struct gsm_subscriber_connection *conn, trans->sms.cp_state = GSM411_CPS_IDLE; trans->sms.rp_state = GSM411_RPS_IDLE; trans->sms.is_mt = 0; - trans->sms.link_id = link_id; + trans->sms.link_id = UM_SAPI_SMS; trans->conn = conn; use_subscr_con(trans->conn); -- cgit v1.2.3