diff --git a/hal/rtl8812a/rtl8812a_phycfg.c b/hal/rtl8812a/rtl8812a_phycfg.c index 675b908..05315e3 100755 --- a/hal/rtl8812a/rtl8812a_phycfg.c +++ b/hal/rtl8812a/rtl8812a_phycfg.c @@ -723,7 +723,7 @@ PHY_GetTxPowerIndex_8812A( if ( txPower % 2 == 1 && !IS_NORMAL_CHIP(pHalData->VersionID)) --txPower; - DBG_871X("Final Tx Power(RF-%c, Channel: %d) = %d(0x%X)\n", ((RFPath==0)?'A':'B'), Channel,txPower, txPower); + // DBG_871X("Final Tx Power(RF-%c, Channel: %d) = %d(0x%X)\n", ((RFPath==0)?'A':'B'), Channel,txPower, txPower); return (u8) txPower; } diff --git a/os_dep/linux/ioctl_cfg80211.c b/os_dep/linux/ioctl_cfg80211.c index fc2b40d..20ee8db 100644 --- a/os_dep/linux/ioctl_cfg80211.c +++ b/os_dep/linux/ioctl_cfg80211.c @@ -3460,6 +3460,7 @@ static int cfg80211_rtw_set_txpower(struct wiphy *wiphy, value = 40; pHalData->CurrentTxPwrIdx = value; + PHY_SetTxPowerLevel8812(padapter, pHalData->CurrentChannel); #if 0 struct iwm_priv *iwm = wiphy_to_iwm(wiphy);