Преглед изворни кода

Merge pull request #45 from rhadman/master

Don't try to process rate section 0 in 5ghz bank. CCK is not used her…
Ole Petter Bang пре 10 година
родитељ
комит
8283c82f06
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      hal/rtl8812a/rtl8812a_phycfg.c

+ 1 - 1
hal/rtl8812a/rtl8812a_phycfg.c

@@ -915,7 +915,7 @@ PHY_ConvertPowerLimitToPowerIndex(
 					else
 						channel = 51; // index of chnl 173 in chanl5G
 						
-					for ( rateSection = 0; rateSection < MAX_5G_RATE_SECTION_NUM; ++rateSection )
+					for ( rateSection = 1; rateSection < MAX_5G_RATE_SECTION_NUM; ++rateSection )
 					{	
 						if ( pHalData->odmpriv.PhyRegPgValueType == PHY_REG_PG_EXACT_VALUE ) {
 							// obtain the base dBm values in 5G band