Skip to content

Commit

Permalink
at86rf230: deliver with checksum
Browse files Browse the repository at this point in the history
This patch indicates that the at86rf230 driver deliver with checksum
instead drop the crc before delivering.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
  • Loading branch information
Alexander Aring authored and Marcel Holtmann committed Oct 29, 2014
1 parent 05f7de6 commit 2ac0f3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/ieee802154/at86rf230.c
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@ at86rf230_rx_read_frame_complete(void *context)
len = IEEE802154_MTU;
}

at86rf230_rx(lp, buf + 2, len - 2, buf[2 + len]);
at86rf230_rx(lp, buf + 2, len, buf[2 + len]);
}

static void
Expand Down Expand Up @@ -1414,7 +1414,7 @@ at86rf230_detect_device(struct at86rf230_local *lp)
}

lp->hw->extra_tx_headroom = 0;
lp->hw->flags = IEEE802154_HW_OMIT_CKSUM | IEEE802154_HW_AACK |
lp->hw->flags = IEEE802154_HW_TX_OMIT_CKSUM | IEEE802154_HW_AACK |
IEEE802154_HW_TXPOWER | IEEE802154_HW_ARET |
IEEE802154_HW_AFILT | IEEE802154_HW_PROMISCUOUS;

Expand Down

0 comments on commit 2ac0f3a

Please sign in to comment.