From 882dd86e929d2ffcc4027e8d08c605155053bb75 Mon Sep 17 00:00:00 2001 From: Rin Cat Date: Fri, 24 Jan 2020 12:16:31 -0500 Subject: [PATCH] =?UTF-8?q?Fix:=20warning:=20=E2=80=98~=E2=80=99=20on=20a?= =?UTF-8?q?=20boolean=20expression=20in=20halrf=5Fiqk=5F8822b.c?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hal/phydm/halrf/rtl8822b/halrf_iqk_8822b.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hal/phydm/halrf/rtl8822b/halrf_iqk_8822b.c b/hal/phydm/halrf/rtl8822b/halrf_iqk_8822b.c index 70e8278..c212bbd 100644 --- a/hal/phydm/halrf/rtl8822b/halrf_iqk_8822b.c +++ b/hal/phydm/halrf/rtl8822b/halrf_iqk_8822b.c @@ -443,11 +443,11 @@ void _iqk_reload_iqk_setting_8822b(struct dm_struct *dm, u8 ch, odm_write_4byte(dm, 0x1bd8, data); } if (idx == 0) { - report = ~(iqk->iqk_fail_report[ch][path][idx]); + report = !(iqk->iqk_fail_report[ch][path][idx]); odm_set_bb_reg(dm, iqk_apply[path], BIT(0), report); } else { - report = ~(iqk->iqk_fail_report[ch][path][idx]); + report = !(iqk->iqk_fail_report[ch][path][idx]); odm_set_bb_reg(dm, iqk_apply[path], BIT(10), report); }