qcacld-3.0: Fix -Wmissing-prototypes in lim_process_sme_req_messages
We want to enable the compiler's -Wmissing-prototypes switch, but there is existing code that is generating warnings. Fix all warnings in lim_process_sme_req_messages. Change-Id: I24b1bacd4ca1a795e3f7ebdc4af93afaf952dae6 CRs-Fixed: 1075090
This commit is contained in:
@@ -117,8 +117,6 @@ static void lim_process_modify_add_ies(tpAniSirGlobal pMac, uint32_t *pMsg);
|
|||||||
|
|
||||||
static void lim_process_update_add_ies(tpAniSirGlobal pMac, uint32_t *pMsg);
|
static void lim_process_update_add_ies(tpAniSirGlobal pMac, uint32_t *pMsg);
|
||||||
|
|
||||||
extern void pe_register_callbacks_with_wma(tpAniSirGlobal pMac,
|
|
||||||
tSirSmeReadyReq *ready_req);
|
|
||||||
static void lim_process_ext_change_channel(tpAniSirGlobal mac_ctx,
|
static void lim_process_ext_change_channel(tpAniSirGlobal mac_ctx,
|
||||||
uint32_t *msg);
|
uint32_t *msg);
|
||||||
|
|
||||||
@@ -3099,7 +3097,7 @@ end:
|
|||||||
* Return: None
|
* Return: None
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void lim_process_sme_get_assoc_sta_info(tpAniSirGlobal mac_ctx,
|
static void lim_process_sme_get_assoc_sta_info(tpAniSirGlobal mac_ctx,
|
||||||
uint32_t *msg_buf)
|
uint32_t *msg_buf)
|
||||||
{
|
{
|
||||||
tSirSmeGetAssocSTAsReq get_assoc_stas_req;
|
tSirSmeGetAssocSTAsReq get_assoc_stas_req;
|
||||||
@@ -3206,7 +3204,7 @@ lim_assoc_sta_end:
|
|||||||
*
|
*
|
||||||
* Return: None
|
* Return: None
|
||||||
*/
|
*/
|
||||||
void lim_process_sme_get_wpspbc_sessions(tpAniSirGlobal mac_ctx,
|
static void lim_process_sme_get_wpspbc_sessions(tpAniSirGlobal mac_ctx,
|
||||||
uint32_t *msg_buf)
|
uint32_t *msg_buf)
|
||||||
{
|
{
|
||||||
tSirSmeGetWPSPBCSessionsReq get_wps_pbc_sessions_req;
|
tSirSmeGetWPSPBCSessionsReq get_wps_pbc_sessions_req;
|
||||||
@@ -3306,7 +3304,8 @@ static void __lim_counter_measures(tpAniSirGlobal pMac, tpPESession psessionEntr
|
|||||||
mac, psessionEntry, false);
|
mac, psessionEntry, false);
|
||||||
};
|
};
|
||||||
|
|
||||||
void lim_process_tkip_counter_measures(tpAniSirGlobal pMac, uint32_t *pMsgBuf)
|
static void lim_process_tkip_counter_measures(tpAniSirGlobal pMac,
|
||||||
|
uint32_t *pMsgBuf)
|
||||||
{
|
{
|
||||||
tSirSmeTkipCntrMeasReq tkipCntrMeasReq;
|
tSirSmeTkipCntrMeasReq tkipCntrMeasReq;
|
||||||
tpPESession psessionEntry;
|
tpPESession psessionEntry;
|
||||||
@@ -3948,7 +3947,8 @@ end:
|
|||||||
smesessionId, smetransactionId);
|
smesessionId, smetransactionId);
|
||||||
}
|
}
|
||||||
|
|
||||||
void lim_process_sme_addts_rsp_timeout(tpAniSirGlobal pMac, uint32_t param)
|
static void lim_process_sme_addts_rsp_timeout(tpAniSirGlobal pMac,
|
||||||
|
uint32_t param)
|
||||||
{
|
{
|
||||||
/* fetch the sessionEntry based on the sessionId */
|
/* fetch the sessionEntry based on the sessionId */
|
||||||
tpPESession psessionEntry;
|
tpPESession psessionEntry;
|
||||||
@@ -4513,7 +4513,7 @@ static void __lim_process_sme_set_ht2040_mode(tpAniSirGlobal pMac,
|
|||||||
* @return None
|
* @return None
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void __lim_process_report_message(tpAniSirGlobal pMac, tpSirMsgQ pMsg)
|
static void __lim_process_report_message(tpAniSirGlobal pMac, tpSirMsgQ pMsg)
|
||||||
{
|
{
|
||||||
switch (pMsg->type) {
|
switch (pMsg->type) {
|
||||||
case eWNI_SME_NEIGHBOR_REPORT_REQ_IND:
|
case eWNI_SME_NEIGHBOR_REPORT_REQ_IND:
|
||||||
|
Reference in New Issue
Block a user