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

This commit is contained in:
kimocoder 2019-04-07 17:40:52 +02:00
parent e5b64bbb7e
commit 5913fb17ee
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);