diff options
-rw-r--r-- | src/gsm/lapdm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gsm/lapdm.c b/src/gsm/lapdm.c index 9f795c6d..86dc242c 100644 --- a/src/gsm/lapdm.c +++ b/src/gsm/lapdm.c @@ -754,7 +754,7 @@ static int l2_ph_data_ind(struct msgb *msg, struct lapdm_entity *le, msg->l2h += 2; } else { /* A Short L3 header has both bits == 0. */ - if (LAPDm_ADDR_SHORT_L2(msg->l2h[2]) == 0) { + if (LAPDm_ADDR_SHORT_L2(msg->l2h[0]) == 0) { mctx.lapdm_fmt = LAPDm_FMT_Bter; n201 = N201_Bter_SDCCH; sapi = 0; |