mirror of
https://github.com/RinCat/RTL88x2BU-Linux-Driver.git
synced 2024-12-26 01:51:34 +00:00
Fix: warning: ‘~’ on a boolean expression in halrf_iqk_8822b.c
This commit is contained in:
parent
2d80b560bd
commit
882dd86e92
@ -443,11 +443,11 @@ void _iqk_reload_iqk_setting_8822b(struct dm_struct *dm, u8 ch,
|
|||||||
odm_write_4byte(dm, 0x1bd8, data);
|
odm_write_4byte(dm, 0x1bd8, data);
|
||||||
}
|
}
|
||||||
if (idx == 0) {
|
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],
|
odm_set_bb_reg(dm, iqk_apply[path],
|
||||||
BIT(0), report);
|
BIT(0), report);
|
||||||
} else {
|
} 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],
|
odm_set_bb_reg(dm, iqk_apply[path],
|
||||||
BIT(10), report);
|
BIT(10), report);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user