diff options
author | Igor Almeida <igor.contato@gmail.com> | 2014-08-21 00:30:22 -0300 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2014-09-06 23:47:15 +0200 |
commit | e6372a2c247d9882fe915fd34252d9fbd5b78adf (patch) | |
tree | 0840354c66eea2919490113a15f4130aaa35877e | |
parent | d7b69212f8c7a230102a1313d74fdaa99b86dc9b (diff) |
layer23: initialize l2h/l3h pointers in rx_l1_rach_conf
Signed-off-by: Igor Almeida <igor.contato@gmail.com>
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
-rw-r--r-- | src/host/layer23/src/common/l1ctl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/host/layer23/src/common/l1ctl.c b/src/host/layer23/src/common/l1ctl.c index 91bab897..c75872e4 100644 --- a/src/host/layer23/src/common/l1ctl.c +++ b/src/host/layer23/src/common/l1ctl.c @@ -148,6 +148,7 @@ static int rx_l1_rach_conf(struct osmocom_ms *ms, struct msgb *msg) } dl = (struct l1ctl_info_dl *) msg->l1h; + msg->l2h = msg->l3h = dl->payload; osmo_prim_init(&pp.oph, SAP_GSM_PH, PRIM_PH_RACH, PRIM_OP_CONFIRM, msg); |