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.
diff --git a/openbsc/src/bsc_api.c b/openbsc/src/bsc_api.c
index 02fc473..cac08be 100644
--- a/openbsc/src/bsc_api.c
+++ b/openbsc/src/bsc_api.c
@@ -47,6 +47,7 @@
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) {