1
0
Fork 0
alistair23-linux/drivers/staging/rtl8188eu/hal
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
..
bb_cfg.c staging: rtl8188eu: remove redundant assignment to variable rtstatus 2019-07-31 13:37:13 +02:00
fw.c staging: rtl8188eu: add spaces around '+' in fw.c 2018-10-02 15:20:41 -07:00
hal8188e_rate_adaptive.c staging: rtl8188eu: fix HighestRate check in odm_ARFBRefresh_8188E() 2019-10-01 08:22:44 +02:00
hal_com.c staging: rtl8188eu: remove hal_init_macaddr() 2019-06-26 09:50:51 +08:00
hal_intf.c staging: rtl8188eu: remove unnecessary parentheses 2018-07-30 11:02:25 +02:00
mac_cfg.c staging: rtl8188eu: remove unnecessary includes 2018-08-05 16:23:28 +02:00
odm.c staging: rtl8188eu: hal: Replace function ODM_TXPowerTrackingCheck() 2019-07-01 09:07:03 +02:00
odm_hwconfig.c staging: rtl8188eu: remove ODM_PhyStatusQuery() wrapper 2019-06-03 14:19:33 +02:00
odm_rtl8188e.c staging: rtl8188eu: add spaces around operators in odm_rtl8188e.c 2018-10-09 15:17:28 +02:00
phy.c staging: rtl8188eu: cleanup brace coding style issues 2018-12-19 08:32:33 +01:00
pwrseq.c staging: rtl8188eu: simplify block comment in pwrseq.c 2018-10-02 15:20:41 -07:00
pwrseqcmd.c staging: rtl8188eu: add SPDX identifiers 2018-06-26 11:58:22 +08:00
rf.c staging: rtl8188eu: reuse Hal_GetChnlGroup88E() 2018-12-12 11:37:58 +01:00
rf_cfg.c staging: rtl8188eu: remove redundant assignment to rtstatus 2019-07-30 09:54:48 +02:00
rtl8188e_cmd.c staging: rtl8188eu: add spaces around '*' in rtl8188e_cmd.c 2019-02-26 11:52:46 +01:00
rtl8188e_dm.c staging: rtl8188eu: add SPDX identifiers 2018-06-26 11:58:22 +08:00
rtl8188e_hal_init.c staging: rtl8188eu: cleanup brace coding style issues 2018-12-19 08:32:33 +01:00
rtl8188e_rxdesc.c staging: rtl8188eu: add SPDX identifiers 2018-06-26 11:58:22 +08:00
rtl8188e_xmit.c staging: rtl8188eu: remove unused dump_txrpt_ccx_88e() 2018-07-30 11:01:01 +02:00
rtl8188eu_led.c staging: rtl8188eu: rename SwLed0 to avoid CamelCase 2018-11-22 11:14:59 +01:00
rtl8188eu_recv.c staging: rtl8188eu: remove blank lines 2018-07-24 14:02:00 +02:00
rtl8188eu_xmit.c staging: rtl8188eu: remove unnecessary parentheses 2019-03-22 15:20:25 +01:00
usb_halinit.c staging: rtl8188eu: cleanup comparsion to NULL in usb_halinit.c 2019-07-30 09:58:23 +02:00