diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-17 17:48:13 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-17 17:48:13 +0800 |
commit | f6d0e06940d6430ef58ecd095702e8d1d323d605 (patch) | |
tree | cab9e0f2366e9e2b223cebf771b6e93047243ce7 /openbsc/src/bsc_api.c | |
parent | d42c3f25a683ab64b957b713ad930244a04b372c (diff) |
bsc_api: Set the l3h header from within the dtap method
This is fixing USSD which broke when the code was
switched to use the BSC API.
Diffstat (limited to 'openbsc/src/bsc_api.c')
-rw-r--r-- | openbsc/src/bsc_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/bsc_api.c b/openbsc/src/bsc_api.c index 02fc47309..cac08be09 100644 --- a/openbsc/src/bsc_api.c +++ b/openbsc/src/bsc_api.c @@ -47,6 +47,7 @@ int gsm0808_submit_dtap(struct gsm_subscriber_connection *conn, msg->lchan = conn->lchan; msg->trx = msg->lchan->ts->trx; + msg->l3h = msg->data; if (conn->lchan->sapis[sapi] == LCHAN_SAPI_UNUSED) { OBSC_LINKID_CB(msg) = link_id; if (rll_establish(msg->lchan, sapi, rll_ind_cb, msg) != 0) { |