d02927b036
The actual L1CTL header is pointed by 'msg->l1h', not 'l2h'! Since msg->l2h is NULL (because nobody set it), the result of msgb_l2len() would always be bigger than size of L1CTL header, as it is calculated in the following way: return msgb->tail - (uint8_t *)msgb_l2(msgb); So, in case if 'msg->l2h' is NULL, it turns into: return msgb->tail - 0; Change-Id: I7fe2e00bb45ba07c9bb7438445eededfa09c96f3 |
||
---|---|---|
.. | ||
Makefile.am | ||
gps.c | ||
l1ctl.c | ||
l1ctl_lapdm_glue.c | ||
l1l2_interface.c | ||
logging.c | ||
main.c | ||
networks.c | ||
sap_interface.c | ||
sim.c | ||
sysinfo.c | ||
utils.c |