diff --git a/hal/hal_dm_acs.c b/hal/hal_dm_acs.c index d78d964..faa1aba 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); // nrm _RTW_PRINT_SEL(sel, "Best 5G Channel:%d\n", hal_data->acs.best_chan_5g); - #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); diff --git a/install-driver.sh b/install-driver.sh index d42aac1..addc4b7 100755 --- a/install-driver.sh +++ b/install-driver.sh @@ -238,6 +238,7 @@ if command -v dkms >/dev/null 2>&1; then if dkms status | grep -i ${DRV_NAME}; then echo ": ---------------------------" echo +# need to add code here to delete any DRV_VERSION echo "Removing a dkms installation." dkms remove -m ${DRV_NAME} -v ${DRV_VERSION} --all echo "Removing ${OPTIONS_FILE} from /etc/modprobe.d"