[sms] bugfix: additional functionality indicator only appears in TP_VPF_ENHANCED - not in TP_VPF_ABSOLUTE
This commit is contained in:
parent
73d4fce151
commit
ac0c13c02c
|
@ -560,7 +560,8 @@ static int gsm340_rx_tpdu(struct msgb *msg)
|
|||
case GSM340_TP_VPF_ENHANCED:
|
||||
sms_vp = smsp;
|
||||
/* the additional functionality indicator... */
|
||||
if (*smsp & (1<<7)) smsp++;
|
||||
if (sms_vpf == GSM340_TP_VPF_ENHANCED && *smsp & (1<<7))
|
||||
smsp++;
|
||||
smsp += 7;
|
||||
break;
|
||||
case GSM340_TP_VPF_NONE:
|
||||
|
|
Loading…
Reference in New Issue