staging: vt6656: Simplify RX finding bit rates
authorMalcolm Priestley <tvboxspy@gmail.com>
Sun, 19 Jan 2020 12:02:24 +0000 (12:02 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Jan 2020 08:52:38 +0000 (09:52 +0100)
commit743b2b7e08c76d3090373e9cd354edef6a0822b7
treebaf2238f3fde95c262933e4a7a2d651c8a28bd3c
parent4d1356ac12f4d5180d0df345d85ff0ee42b89c72
staging: vt6656: Simplify RX finding bit rates

The bit rate can be found by multiplying the rate value by 5.

Use rx_bitrate to compared to sband bitrates removing the need
to find it by hw_value.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Link: https://lore.kernel.org/r/50d3c4b8-6d17-4fae-ce9c-88a50614450f@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/device.h
drivers/staging/vt6656/dpc.c