mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 13:44:26 -04:00
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:
parent
7f8cb144b8
commit
d3b31e205a
2 changed files with 2 additions and 2 deletions
|
|
@ -55,7 +55,7 @@ typedef struct tagComebackTimerInfo {
|
|||
tpAniSirGlobal pMac;
|
||||
uint8_t sessionID;
|
||||
tLimMlmStates limPrevMlmState; /* Previous MLM State */
|
||||
tLimSmeStates limMlmState; /* MLM State */
|
||||
tLimMlmStates limMlmState; /* MLM State */
|
||||
} tComebackTimerInfo;
|
||||
#endif /* WLAN_FEATURE_11W */
|
||||
/*--------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -489,7 +489,7 @@ lim_mlm_add_bss(tpAniSirGlobal mac_ctx,
|
|||
if (NULL == addbss_param) {
|
||||
pe_err("Unable to allocate memory during ADD_BSS");
|
||||
/* Respond to SME with LIM_MLM_START_CNF */
|
||||
return eSIR_MEM_ALLOC_FAILED;
|
||||
return eSIR_SME_RESOURCES_UNAVAILABLE;
|
||||
}
|
||||
|
||||
/* Fill in tAddBssParams members */
|
||||
|
|
|
|||
Loading…
Reference in a new issue