summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k
diff options
context:
space:
mode:
authorzhengbin <zhengbin13@huawei.com>2019-12-24 15:16:03 +0100
committerKalle Valo <kvalo@codeaurora.org>2020-01-26 11:19:02 +0100
commitd27c768f3b617a5a94844e58b18f773d2e40f41c (patch)
treec3ce03cc2e8b4a0ed284dc2a5b918a78d5a94983 /drivers/net/wireless/ath/ath9k
parentnet: amd: a2065: Use print_hex_dump_debug() helper (diff)
downloadlinux-d27c768f3b617a5a94844e58b18f773d2e40f41c.tar.xz
linux-d27c768f3b617a5a94844e58b18f773d2e40f41c.zip
ath9k: use true,false for bool variable
Fixes coccicheck warning: drivers/net/wireless/ath/ath9k/ar9003_aic.c:409:2-12: WARNING: Assignment of 0/1 to bool variable Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: zhengbin <zhengbin13@huawei.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k')
-rw-r--r--drivers/net/wireless/ath/ath9k/ar9003_aic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_aic.c b/drivers/net/wireless/ath/ath9k/ar9003_aic.c
index 547cd46da260..d0f1e8bcc846 100644
--- a/drivers/net/wireless/ath/ath9k/ar9003_aic.c
+++ b/drivers/net/wireless/ath/ath9k/ar9003_aic.c
@@ -406,7 +406,7 @@ static bool ar9003_aic_cal_post_process(struct ath_hw *ah)
sram.com_att_6db =
ar9003_aic_find_index(1, fixed_com_att_db);
- sram.valid = 1;
+ sram.valid = true;
sram.rot_dir_att_db =
min(max(rot_dir_path_att_db,