mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-11-03 21:43:32 +00:00
minor fixes
This commit is contained in:
@@ -490,8 +490,8 @@ static struct gsm_subscriber_connection *subscr_conn_lookup_iu(struct gsm_networ
|
|||||||
int gsm0408_rcvmsg_iucs(struct gsm_network *network, struct msgb *msg, uint8_t link_id)
|
int gsm0408_rcvmsg_iucs(struct gsm_network *network, struct msgb *msg, uint8_t link_id)
|
||||||
{
|
{
|
||||||
int rc;
|
int rc;
|
||||||
struct ue_conn_ctx ue_ctx;
|
struct ue_conn_ctx *ue_ctx;
|
||||||
struct gsm_subscriber_connection conn;
|
struct gsm_subscriber_connection *conn;
|
||||||
|
|
||||||
ue_ctx = (struct ue_conn_ctx*)msg->dst;
|
ue_ctx = (struct ue_conn_ctx*)msg->dst;
|
||||||
|
|
||||||
@@ -499,7 +499,7 @@ int gsm0408_rcvmsg_iucs(struct gsm_network *network, struct msgb *msg, uint8_t l
|
|||||||
* search? */
|
* search? */
|
||||||
conn = subscr_conn_lookup_iu(network, link_id, ue_ctx->conn_id);
|
conn = subscr_conn_lookup_iu(network, link_id, ue_ctx->conn_id);
|
||||||
|
|
||||||
if (lchan->conn) {
|
if (conn) {
|
||||||
/* if we already have a connection, handle DTAP.
|
/* if we already have a connection, handle DTAP.
|
||||||
gsm0408_dispatch() is aka msc_dtap() */
|
gsm0408_dispatch() is aka msc_dtap() */
|
||||||
gsm0408_dispatch(conn, msg);
|
gsm0408_dispatch(conn, msg);
|
||||||
|
|||||||
@@ -261,9 +261,8 @@ static int rcvmsg_iu_cs(struct msgb *msg, struct gprs_ra_id *ra_id, /* FIXME gpr
|
|||||||
DEBUGP(DIUCS, "got Iu-CS message\n");
|
DEBUGP(DIUCS, "got Iu-CS message\n");
|
||||||
DEBUGP(DIUCS, "Iu-CS message is %s\n",
|
DEBUGP(DIUCS, "Iu-CS message is %s\n",
|
||||||
osmo_hexdump(msg->data, msg->len));
|
osmo_hexdump(msg->data, msg->len));
|
||||||
return -1;
|
uint8_t link_id = 1; /* TODO proper link_id */
|
||||||
int gsm0408_rcvmsg_iucs(struct gsm_network *network, struct msgb *msg, uint8_t link_id)
|
return gsm0408_rcvmsg_iucs(bsc_gsmnet, msg, link_id);
|
||||||
//return gsm0408_dispatch(struct gsm_subscriber_connection *conn, struct msgb *msg)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user