diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-07-26 19:05:56 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-07-26 19:05:56 +0800 |
commit | b02c89e292983def3656c64cdbd68f32953b210f (patch) | |
tree | cfbed480e10ebfeb0e044726fbcf0d13e94f0f97 /openbsc/src/gsm_04_80.c | |
parent | 15ef17e70efc60190ed01609e3f1230d20e062bc (diff) |
gsm_04_80: Add code to wrap a facility IE around.
Diffstat (limited to 'openbsc/src/gsm_04_80.c')
-rw-r--r-- | openbsc/src/gsm_04_80.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/openbsc/src/gsm_04_80.c b/openbsc/src/gsm_04_80.c index 1eada9c9c..757653ac4 100644 --- a/openbsc/src/gsm_04_80.c +++ b/openbsc/src/gsm_04_80.c @@ -413,6 +413,14 @@ int gsm0480_wrap_invoke(struct msgb *msg, int op, int link_id) return 0; } +/* wrap the GSM 04.08 Facility IE around it */ +int gsm0480_wrap_facility(struct msgb *msg) +{ + msgb_wrap_with_TL(msg, GSM0480_IE_FACILITY); + + return 0; +} + int gsm0480_send_ussd_reject(struct gsm_subscriber_connection *conn, const struct msgb *in_msg, const struct ussd_request *req) |