mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-26 07:04:12 +00:00
8812au fix: Use HAL methods to apply TX power settings
This commit is contained in:
parent
e5b64bbb7e
commit
5913fb17ee
@ -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`
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user