mirror of git://git.sysmocom.de/ofono
Fix getting the offset into sms fragment bitmap.
Otherwise only 64 fragments fit.
This commit is contained in:
parent
4750081d72
commit
64ade1c7c8
|
@ -2132,7 +2132,7 @@ GSList *sms_assembly_add_fragment(struct sms_assembly *assembly,
|
|||
const struct sms_address *addr,
|
||||
guint16 ref, guint8 max, guint8 seq)
|
||||
{
|
||||
int offset = seq / 8;
|
||||
int offset = seq / 32;
|
||||
int bit = 1 << (seq % 32);
|
||||
GSList *l;
|
||||
GSList *prev;
|
||||
|
|
Loading…
Reference in New Issue