wlan: CCX fix to set max txpower if gTxPowerCap is not set
If the gTxPowerCap is not set in the ini file, then the value defaults
to +128
the callee function has data type declaration of S8 then tx power
becomes -128 and VOS_MIN selects -128
but the output variable is U8 then again it is converted to +128, which
then code was capping it to
+19dBm. This fix takes care of setting max tx power even if gTxPowerCap
is not set
Change-Id: I5bd069a8db3caa04675ea7b7d4bbaad6057a63b3
CR-Fixed: 402568
diff --git a/CORE/MAC/src/pe/lim/limUtils.h b/CORE/MAC/src/pe/lim/limUtils.h
index cbecaf8..1e71a76 100644
--- a/CORE/MAC/src/pe/lim/limUtils.h
+++ b/CORE/MAC/src/pe/lim/limUtils.h
@@ -99,7 +99,7 @@
extern tSirRetStatus limSendSetMaxTxPowerReq ( tpAniSirGlobal pMac,
tPowerdBm txPower,
tpPESession pSessionEntry );
-extern tANI_U8 limGetMaxTxPower(tPowerdBm regMax, tPowerdBm apTxPower, tPowerdBm iniTxPower);
+extern tANI_U8 limGetMaxTxPower(tPowerdBm regMax, tPowerdBm apTxPower, tANI_U8 iniTxPower);
#endif
tANI_U32 limPostMsgApiNoWait(tpAniSirGlobal, tSirMsgQ *);