1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 06:23:53 +01:00

ng_at86rf2xx: fix offset error on send

This commit is contained in:
Martine Lenders 2015-05-10 14:02:42 +02:00
parent ca0d510655
commit e5155390d0

View File

@ -236,7 +236,7 @@ static int _send(ng_netdev_t *netdev, ng_pktsnip_t *pkt)
len = ng_at86rf2xx_tx_load(dev, mhr, len, 0);
/* load packet data into FIFO */
while (snip) {
len += ng_at86rf2xx_tx_load(dev, snip->data, snip->size, len);
len = ng_at86rf2xx_tx_load(dev, snip->data, snip->size, len);
snip = snip->next;
}
/* send data out directly if pre-loading id disabled */