staging: vt6656: s_uCalculateLinkQual use netstats rx values
authorMalcolm Priestley <tvboxspy@gmail.com>
Mon, 9 Dec 2013 22:28:24 +0000 (22:28 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 11 Dec 2013 07:14:26 +0000 (23:14 -0800)
commit9a450f9a7a1257ec7ec72e6397a4f9980eab68d8
tree73c5bf5b4f54d360051719911c41880749b89c16
parent854f775a12d387bcd203b70b62b4feb4aeb3c5eb
staging: vt6656: s_uCalculateLinkQual use netstats rx values

Use netstats rx_packets and rx_frame_errors.

Add frame errors to RXbBulkInProcessData

The current scStatistic.RxFcsErrCnt only records
USB errors not frame errors.

The scStatistic.RxOkCnt only recorded successful USB
transfers not actual successfully received packets.

So a more accurate reading is to use netstats rx_packets and
rx_frame_errors.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/bssdb.c
drivers/staging/vt6656/dpc.c
This page took 0.026 seconds and 5 git commands to generate.