Ver código fonte

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 anos atrás
pai
commit
8283c82f06
1 arquivos alterados com 1 adições e 1 exclusões
  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