rtlwifi: rtl8192c: fix comparison to bool warning in phy_common.c
Fixes coccicheck warning: drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c:1106:14-18: WARNING: Comparison to bool Signed-off-by: Zheng Bin <zhengbin13@huawei.com> Acked-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20200918102505.16036-3-zhengbin13@huawei.com
This commit is contained in:
parent
027a4c9c30
commit
4cff897cb2
|
@ -1103,7 +1103,7 @@ static void _rtl92c_phy_path_adda_on(struct ieee80211_hw *hw,
|
|||
u32 i;
|
||||
|
||||
pathon = is_patha_on ? 0x04db25a4 : 0x0b1b25a4;
|
||||
if (false == is2t) {
|
||||
if (!is2t) {
|
||||
pathon = 0x0bdb25a0;
|
||||
rtl_set_bbreg(hw, addareg[0], MASKDWORD, 0x0b1b25a0);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue