diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-02-11 01:28:06 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-03-03 16:19:10 +0100 |
commit | 7a70a4f52a837bde0f7fa5f435e302939a2e3d74 (patch) | |
tree | d617c4a5814d21ecac41a9e917deca84da044433 /openbsc/src/osmo-cscn/iu_cs.c | |
parent | c6172a320bdbbe38a0a9f3ae6b072b00b5b6bd02 (diff) |
cscn wip: direct dtap responses to IuCS
Diffstat (limited to 'openbsc/src/osmo-cscn/iu_cs.c')
-rw-r--r-- | openbsc/src/osmo-cscn/iu_cs.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/openbsc/src/osmo-cscn/iu_cs.c b/openbsc/src/osmo-cscn/iu_cs.c index e6c2818e7..e321c15a1 100644 --- a/openbsc/src/osmo-cscn/iu_cs.c +++ b/openbsc/src/osmo-cscn/iu_cs.c @@ -108,3 +108,12 @@ int gsm0408_rcvmsg_iucs(struct gsm_network *network, struct msgb *msg) return rc; } + +int iucs_submit_dtap(struct gsm_subscriber_connection *conn, + struct msgb *msg) +{ + OSMO_ASSERT(conn->via_iface == IFACE_IUCS); + msg->dst = conn->iu.ue_ctx; + return iu_tx(msg, 0); +} + |