[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:
Harald Welte 2010-07-02 10:29:06 +02:00
parent 11ff3e8ec2
commit 8f0c0a3a3c
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}