Date:2016-03-31 22:30:29 (3 years 7 months ago)
Author:Stefan Schmidt
Commit:dce846293982409b4027cd93e03b686750ab6195
Message:atusb: fw: leave the FCS check to the kernel stack

This check is more harm than good. For example in promiscuous mode we might want
to get frames with invalid CRC. The kernel subsystem is in a way better
situation to understand what the user want thus we deliver all packets and leave
the decision to him.
Files: atusb/fw/mac.c (1 diff)

Change Details

atusb/fw/mac.c
126126    uint8_t *buf;
127127
128128    spi_begin();
129#ifdef AT86RF231
130    if (!(spi_io(AT86RF230_BUF_READ) & RX_CRC_VALID)) {
131        spi_end();
132        return;
133    }
134#endif
135#ifdef AT86RF230
136129    spi_io(AT86RF230_BUF_READ);
137#endif
138130
139131    size = spi_recv();
140132    if (!size || (size & 0x80)) {

Archive Download the corresponding diff file



interactive