From ec6f765dfb2f0c53c69c1504c3cb5930a920663e Mon Sep 17 00:00:00 2001 From: morrownr Date: Thu, 16 Feb 2023 12:25:30 -0600 Subject: [PATCH] reduce ACS reporting in log --- hal/hal_dm_acs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hal/hal_dm_acs.c b/hal/hal_dm_acs.c index f1de398..52a1076 100644 --- a/hal/hal_dm_acs.c +++ b/hal/hal_dm_acs.c @@ -289,12 +289,12 @@ void rtw_acs_info_dump(void *sel, _adapter *adapter) u8 max_chan_nums = rfctl->max_chan_nums; u8 ch_idx, ch_num; + #ifdef CONFIG_RTW_ACS_DBG _RTW_PRINT_SEL(sel, "========== ACS (VER-%d) ==========\n", RTK_ACS_VERSION); _RTW_PRINT_SEL(sel, "Best 24G Channel:%d\n", hal_data->acs.best_chan_24g); _RTW_PRINT_SEL(sel, "Best 5G Channel:%d\n", hal_data->acs.best_chan_5g); _RTW_PRINT_SEL(sel, "==================================\n"); - #ifdef CONFIG_RTW_ACS_DBG _RTW_PRINT_SEL(sel, "Advanced setting - scan_type:%c, ch_ms:%d(ms), igi:0x%02x, bw:%d\n", hal_data->acs.scan_type ? 'A' : 'P', hal_data->acs.scan_time, hal_data->acs.igi, hal_data->acs.bw);