Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed May 7, 2024
1 parent 11e6bdf commit c582875
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hal/rtl8812a/rtl8812a_hal_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -1127,11 +1127,14 @@ hal_ReadPAType_8812A(
IN PADAPTER Adapter,
IN u8 *PROMContent,
IN BOOLEAN AutoloadFail

RTW_WARN("OpenHD warning: Detecting PA !");
)
{
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(Adapter);

if (!AutoloadFail) {
RTW_WARN("OpenHD warning: Autoload failed !");
if (GetRegAmplifierType2G(Adapter) == 0) { /* AUTO */
pHalData->PAType_2G = ReadLE1Byte(&PROMContent[EEPROM_PA_TYPE_8812AU]);
pHalData->LNAType_2G = ReadLE1Byte(&PROMContent[EEPROM_LNA_TYPE_2G_8812AU]);
Expand Down

0 comments on commit c582875

Please sign in to comment.