1
0
mirror of https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git synced 2025-04-29 23:29:38 +02:00

Merge pull request #59 from rhadman/log-fix

Fix debug message if conditions. These were using if (BAND_ON_5G) typ…
This commit is contained in:
Harshavardhana 2015-06-01 17:40:20 -07:00
commit 54ceed7413

View File

@ -1272,9 +1272,9 @@ PHY_GetPowerLimitValue(
break;
}
if ( BAND_ON_2_4G && rateSection > 3 )
if ( Band == BAND_ON_2_4G && rateSection > 3 )
DBG_871X("Wrong rate 0x%x: No VHT in 2.4G Band\n", DataRate );
if ( BAND_ON_5G && rateSection == 0 )
if ( Band == BAND_ON_5G && rateSection == 0 )
DBG_871X("Wrong rate 0x%x: No CCK in 5G Band\n", DataRate );
// workaround for wrong index combination to obtain tx power limit,