qcacld-3.0: Fix style issues in cfg_proc_msg.c

Checkpatch reported the following issues, so fix them:
- ERROR:SPACING: space prohibited before that ':' (ctx:WxE)
- ERROR:SPACING: space prohibited after that '*' (ctx:ExW)

Change-Id: I2ae63f6a0474a6d8384c2b6796a5239b99aa3ffb
CRs-Fixed: 2125682
This commit is contained in:
Jeff Johnson
2017-10-11 14:13:44 -07:00
committed by snandini
parent aadd789840
commit ec0164c434

View File

@@ -1939,7 +1939,7 @@ static void proc_dnld_rsp(tpAniSirGlobal pMac, uint16_t length, uint32_t *pParam
retVal = WNI_CFG_SUCCESS; retVal = WNI_CFG_SUCCESS;
pe_debug("<CFG> Completed successfully"); pe_debug("<CFG> Completed successfully");
end : end:
if (retVal != WNI_CFG_SUCCESS) if (retVal != WNI_CFG_SUCCESS)
pMac->cfg.gCfgStatus = CFG_FAILURE; pMac->cfg.gCfgStatus = CFG_FAILURE;
@@ -2261,19 +2261,19 @@ check_param(tpAniSirGlobal pMac, uint16_t cfgId, uint32_t flag,
/* Check if parameter ID is out of bound */ /* Check if parameter ID is out of bound */
if (cfgId >= CFG_PARAM_MAX_NUM) { if (cfgId >= CFG_PARAM_MAX_NUM) {
pe_warn("Invalid param id: %d", cfgId); pe_warn("Invalid param id: %d", cfgId);
* pResult = WNI_CFG_INVALID_PID; *pResult = WNI_CFG_INVALID_PID;
} else { } else {
/* Check if parameter is valid */ /* Check if parameter is valid */
if ((pMac->cfg.gCfgEntry[cfgId].control & CFG_CTL_VALID) == 0) { if ((pMac->cfg.gCfgEntry[cfgId].control & CFG_CTL_VALID) == 0) {
pe_warn("Param id: %d not valid", cfgId); pe_warn("Param id: %d not valid", cfgId);
* pResult = WNI_CFG_INVALID_PID; *pResult = WNI_CFG_INVALID_PID;
} else { } else {
/* Check control field against flag */ /* Check control field against flag */
if ((pMac->cfg.gCfgEntry[cfgId].control & flag) == 0) { if ((pMac->cfg.gCfgEntry[cfgId].control & flag) == 0) {
pe_debug("Param id: %d wrong permissions: %x", pe_debug("Param id: %d wrong permissions: %x",
cfgId, cfgId,
pMac->cfg.gCfgEntry[cfgId].control); pMac->cfg.gCfgEntry[cfgId].control);
* pResult = failedResult; *pResult = failedResult;
} else } else
return true; return true;
} }