[SGSN] SNDCP: Actually copy the payload data in the defrag queue entry
Prior to this patch our defragmented messages always consisted of 00-bytes
This commit is contained in:
parent
11ff3e8ec2
commit
8f0c0a3a3c
|
@ -103,6 +103,8 @@ static int defrag_enqueue(struct gprs_sndcp_entity *sne, uint8_t seg_nr,
|
|||
sne->defrag.seg_have |= (1 << seg_nr);
|
||||
sne->defrag.tot_len += data_len;
|
||||
|
||||
memcpy(dqe->data, data, data_len);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue