staging: vt6656: Use define instead of magic number for tx_rate
authorOscar Carter <oscar.carter@gmx.com>
Tue, 14 Apr 2020 15:38:47 +0000 (17:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Apr 2020 11:40:21 +0000 (13:40 +0200)
commit8b0eb26ad5f3c717e0b2cf58e7ffd9eb9ba165e6
treee26b8e3008a59a27f01504fd91eddab2fbe0f517
parent91fdbcd909293f491f9773fef5b39605126cbf94
staging: vt6656: Use define instead of magic number for tx_rate

Use the define RATE_11M present in the file "device.h" instead of the
magic number 3. So the code is more clear.

Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Oscar Carter <oscar.carter@gmx.com>
Link: https://lore.kernel.org/r/20200414153849.5785-4-oscar.carter@gmx.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/baseband.c