]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
rtlwifi: rtl8723be: avoid undefined behavior
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 17 May 2016 22:46:23 +0000 (00:46 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 14 Jun 2016 14:20:50 +0000 (17:20 +0300)
commit6b3c33e985f20e7de07fc4b9b1a96dc452e37cb4
treecfadef1c5ec642eebb1133b427eed964d70ffea0
parent3fdbda446fbcd7fb750179c01338e81cf04e46c7
rtlwifi: rtl8723be: avoid undefined behavior

Do not return undefined value for transmission power
if the rate is invalid.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c