mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 19:43:40 +02:00
rtlwifi: rtl8188ee: fix comparison pointer to bool warning in phy.c
Fixes coccicheck warning: drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c:1584:14-18: WARNING: Comparison to bool Signed-off-by: Zheng Bin <zhengbin13@huawei.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20200910135917.143723-2-zhengbin13@huawei.com
This commit is contained in:
parent
edadae4778
commit
6996e70f1f
|
|
@ -1581,7 +1581,7 @@ static void _rtl88e_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
Block a user