WSL2-Linux-Kernel/drivers/staging/rtl8188eu
Denis Efremov 22d67a01d8 staging: rtl8188eu: fix HighestRate check in odm_ARFBRefresh_8188E()
It's incorrect to compare HighestRate with 0x0b twice in the following
manner "if (HighestRate > 0x0b) ... else if (HighestRate > 0x0b) ...". The
"else if" branch is constantly false. The second comparision should be
with 0x03 according to the max_rate_idx in ODM_RAInfo_Init().

Cc: Michael Straube <straube.linux@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Denis Efremov <efremov@linux.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Link: https://lore.kernel.org/r/20190926073138.12109-1-efremov@linux.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-10-01 08:22:44 +02:00
..
core staging: rtl8188eu: make two arrays static const, makes object smaller 2019-09-12 10:35:52 +01:00
hal staging: rtl8188eu: fix HighestRate check in odm_ARFBRefresh_8188E() 2019-10-01 08:22:44 +02:00
include staging: rtl8188eu: Replace function rtw_alloc_network() 2019-07-22 07:34:15 +02:00
os_dep staging: rtl8188eu: fix null dereference when kzalloc fails 2019-10-01 08:22:44 +02:00
Kconfig staging: rtl8188eu: use help instead of ---help--- in Kconfig 2019-05-20 10:49:07 +02:00
Makefile staging: rtl8188eu: rename odm_HWConfig 2018-10-02 15:20:40 -07:00
TODO staging: rtl8188eu: Fix spelling mistake 2018-08-27 19:29:39 +02:00