mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 22:25:03 +00:00
22d67a01d8
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> |
||
---|---|---|
.. | ||
bb_cfg.c | ||
fw.c | ||
hal8188e_rate_adaptive.c | ||
hal_com.c | ||
hal_intf.c | ||
mac_cfg.c | ||
odm.c | ||
odm_hwconfig.c | ||
odm_rtl8188e.c | ||
phy.c | ||
pwrseq.c | ||
pwrseqcmd.c | ||
rf.c | ||
rf_cfg.c | ||
rtl8188e_cmd.c | ||
rtl8188e_dm.c | ||
rtl8188e_hal_init.c | ||
rtl8188e_rxdesc.c | ||
rtl8188e_xmit.c | ||
rtl8188eu_led.c | ||
rtl8188eu_recv.c | ||
rtl8188eu_xmit.c | ||
usb_halinit.c |