qcacld-3.0: Fix clang warnings in LIM
qcacld-3.0/core/mac/src/pe/lim/lim_process_mlm_req_messages.c:487:10: warning: implicit conversion from enumeration type 'enum eSirRetStatus' to different enumeration type 'tSirResultCodes' (aka 'enum eSirResultCodes') [-Wenum-conversion] qcacld-3.0/core/mac/src/pe/lim/lim_process_mlm_rsp_messages.c:459:37: warning: implicit conversion from enumeration type 'tLimSmeStates' (aka 'enum eLimSmeStates') to different enumeration type 'tLimMlmStates' (aka 'enum eLimMlmStates') [-Wenum-conversion]. Change-Id: I649618105b220d69c8b79dcae0983ae6d75746c0 CRs-Fixed: 2055487
This commit is contained in:

committed by
snandini

parent
7f8cb144b8
commit
d3b31e205a
@@ -55,7 +55,7 @@ typedef struct tagComebackTimerInfo {
|
|||||||
tpAniSirGlobal pMac;
|
tpAniSirGlobal pMac;
|
||||||
uint8_t sessionID;
|
uint8_t sessionID;
|
||||||
tLimMlmStates limPrevMlmState; /* Previous MLM State */
|
tLimMlmStates limPrevMlmState; /* Previous MLM State */
|
||||||
tLimSmeStates limMlmState; /* MLM State */
|
tLimMlmStates limMlmState; /* MLM State */
|
||||||
} tComebackTimerInfo;
|
} tComebackTimerInfo;
|
||||||
#endif /* WLAN_FEATURE_11W */
|
#endif /* WLAN_FEATURE_11W */
|
||||||
/*--------------------------------------------------------------------------
|
/*--------------------------------------------------------------------------
|
||||||
|
@@ -489,7 +489,7 @@ lim_mlm_add_bss(tpAniSirGlobal mac_ctx,
|
|||||||
if (NULL == addbss_param) {
|
if (NULL == addbss_param) {
|
||||||
pe_err("Unable to allocate memory during ADD_BSS");
|
pe_err("Unable to allocate memory during ADD_BSS");
|
||||||
/* Respond to SME with LIM_MLM_START_CNF */
|
/* Respond to SME with LIM_MLM_START_CNF */
|
||||||
return eSIR_MEM_ALLOC_FAILED;
|
return eSIR_SME_RESOURCES_UNAVAILABLE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Fill in tAddBssParams members */
|
/* Fill in tAddBssParams members */
|
||||||
|
Reference in New Issue
Block a user