8812au fix: Use HAL methods to apply TX power settings

This commit is contained in:
kimocoder 2019-05-21 23:17:24 +02:00
parent d2b8153730
commit f2298e305f
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,5 @@
PACKAGE_NAME="realtek-rtl88xxau"
PACKAGE_VERSION="5.3.4~20190406"
PACKAGE_VERSION="5.3.4~20190407"
CLEAN="'make' clean"
BUILT_MODULE_NAME[0]=88XXau
PROCS_NUM=`nproc`

View File

@ -473,6 +473,8 @@ PHY_GetTxPowerLevel8812(
OUT s32 *powerlevel
)
{
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(Adapter);
*powerlevel = pHalData->CurrentTxPwrIdx;
#if 0
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(Adapter);
PMGNT_INFO pMgntInfo = &(Adapter->MgntInfo);