staging: vt6655: vnt_rx_data add track rsr and new_rsr errors
authorMalcolm Priestley <tvboxspy@gmail.com>
Sun, 1 Feb 2015 11:59:41 +0000 (11:59 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Feb 2015 09:16:59 +0000 (17:16 +0800)
commit6d854127268010f98c66c9e93fd278c2d76a6562
treefe39f841a93f2b293b1c22a73cf0589dc1062534
parentd17f4c8a42256dae6aa598bdbc00eff8b38cc949
staging: vt6655: vnt_rx_data add track rsr and new_rsr errors

If not rsr & RSR_CRCOK report RX_FLAG_FAILED_FCS_CRC

If not rsr & (RSR_IVLDTYP | RSR_IVLDLEN) drop packet

If not NEWRSR_DECRYPTOK on new_rsr drop packet.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/dpc.c