From a96ff765f4c99ccd7328c3560c4ad1b75d2cad00 Mon Sep 17 00:00:00 2001 From: Raphael <68374617+raphaelscholle@users.noreply.github.com> Date: Mon, 6 May 2024 02:08:10 +0200 Subject: [PATCH] debug --- os_dep/linux/ioctl_cfg80211.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/os_dep/linux/ioctl_cfg80211.c b/os_dep/linux/ioctl_cfg80211.c index c48715b..ac9f6f4 100644 --- a/os_dep/linux/ioctl_cfg80211.c +++ b/os_dep/linux/ioctl_cfg80211.c @@ -3697,11 +3697,11 @@ if(type == NL80211_TX_POWER_FIXED) { }else{ padapter->registrypriv.RegTxPowerIndexOverride = 0; }*/ - if(mbm>=0 && mbm<=63){ - padapter->registrypriv.RegTxPowerIndexOverride = mbm; - RTW_WARN("OpenHD:interpreting %d mBm as tx power index override",(int)mbm); - } - RTW_INFO("OpenHD:Tx power index override is %d",padapter->registrypriv.RegTxPowerIndexOverride); + // if(mbm>=0 && mbm<=63){ + // padapter->registrypriv.RegTxPowerIndexOverride = mbm; + // RTW_WARN("OpenHD:interpreting %d mBm as tx power index override",(int)mbm); + // } + // RTW_INFO("OpenHD:Tx power index override is %d",padapter->registrypriv.RegTxPowerIndexOverride); pHalData->CurrentTxPwrIdx = value; rtw_hal_set_tx_power_level(padapter, pHalData->current_channel);