mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 20:46:48 +02:00
rtlwifi: rtl8723be: fix comparison to bool warning in hw.c
Fixes coccicheck warning: drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c:861:6-35: 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-10-zhengbin13@huawei.com
This commit is contained in:
parent
9dbde387e2
commit
02686841d5
|
|
@ -858,7 +858,7 @@ static bool _rtl8723be_init_mac(struct ieee80211_hw *hw)
|
|||
rtl_write_word(rtlpriv, REG_CR, 0x2ff);
|
||||
|
||||
if (!rtlhal->mac_func_enable) {
|
||||
if (_rtl8723be_llt_table_init(hw) == false)
|
||||
if (!_rtl8723be_llt_table_init(hw))
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user