]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
staging: rtl8723bs: fix right side of condition
authorFabio Aiuto <fabioaiuto83@gmail.com>
Sat, 7 Aug 2021 09:48:00 +0000 (11:48 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Sep 2021 11:42:10 +0000 (13:42 +0200)
commit7f6162255f4df4ac7650ac2b1007ccc219695a9b
treeabb3c6b3220f1941af1632f55b99f408ce89e918
parent36072646648224af69899f02d423842aec495641
staging: rtl8723bs: fix right side of condition

[ Upstream commit e3678dc1ea40425b7218c20e2fe7b00a72f23a41 ]

TxNum value is compared against ODM_RF_PATH_D,
which is inconsistent. Compare it against
RF_MAX_TX_NUM, as in other places in the same file.

Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/147631fe6f4f5de84cc54a62ba71d739b92697be.1628329348.git.fabioaiuto83@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/staging/rtl8723bs/hal/hal_com_phycfg.c