rtlwifi: rtl8192ee: fix comparison to bool warning in hw.c
Fixes coccicheck warning: drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c:797:6-33: 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/20200918102505.16036-2-zhengbin13@huawei.com
This commit is contained in:
parent
55bd149978
commit
027a4c9c30
1 changed files with 1 additions and 1 deletions
|
|
@ -794,7 +794,7 @@ static bool _rtl92ee_init_mac(struct ieee80211_hw *hw)
|
|||
rtl_write_word(rtlpriv, REG_CR, 0x2ff);
|
||||
|
||||
if (!rtlhal->mac_func_enable) {
|
||||
if (_rtl92ee_llt_table_init(hw) == false) {
|
||||
if (!_rtl92ee_llt_table_init(hw)) {
|
||||
rtl_dbg(rtlpriv, COMP_INIT, DBG_LOUD,
|
||||
"LLT table init fail\n");
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue