mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
qcacld-3.0: Properly export SME P2P APIs
There are currently several SME P2P APIs which do not have their prototypes exported in header files; instead sme_api.c has "extern" declarations for these APIs. This prevents the compiler from verifying that the implementations match the declarations, and causes a warning when the driver is built using -Wmissing-prototypes. To address this issue properly export all P2P APIs. Change-Id: I0389ad753993bf9a8a37d8d9ad5ec466b29c74df CRs-Fixed: 1075575
This commit is contained in:
parent
414f7ea28f
commit
2f36819243
3 changed files with 4 additions and 4 deletions
|
|
@ -80,6 +80,8 @@ typedef struct sp2pContext {
|
|||
uint32_t probeRspIeLength;
|
||||
} tp2pContext, *tPp2pContext;
|
||||
|
||||
QDF_STATUS sme_remain_on_chn_rsp(tpAniSirGlobal pMac, uint8_t *pMsg);
|
||||
QDF_STATUS sme_remain_on_chn_ready(tHalHandle hHal, uint8_t *pMsg);
|
||||
QDF_STATUS sme_remain_on_channel(tHalHandle hHal, uint8_t sessionId,
|
||||
uint8_t channel, uint32_t duration,
|
||||
remainOnChanCallback callback,
|
||||
|
|
|
|||
|
|
@ -271,6 +271,8 @@ QDF_STATUS csr_create_roam_scan_channel_list(tpAniSirGlobal pMac,
|
|||
const eCsrBand eBand);
|
||||
#endif
|
||||
|
||||
QDF_STATUS p2p_process_remain_on_channel_cmd(tpAniSirGlobal pMac,
|
||||
tSmeCmd *p2pRemainonChn);
|
||||
ePhyChanBondState csr_convert_cb_ini_value_to_phy_cb_state(uint32_t cbIniValue);
|
||||
void active_list_cmd_timeout_handle(void *userData);
|
||||
void csr_process_set_dual_mac_config(tpAniSirGlobal mac, tSmeCmd *command);
|
||||
|
|
|
|||
|
|
@ -73,10 +73,6 @@ extern QDF_STATUS pmc_prepare_command(tpAniSirGlobal pMac, uint32_t sessionId,
|
|||
uint32_t size, tSmeCmd **ppCmd);
|
||||
extern void pmc_release_command(tpAniSirGlobal pMac, tSmeCmd *pCommand);
|
||||
extern void qos_release_command(tpAniSirGlobal pMac, tSmeCmd *pCommand);
|
||||
extern QDF_STATUS p2p_process_remain_on_channel_cmd(tpAniSirGlobal pMac,
|
||||
tSmeCmd *p2pRemainonChn);
|
||||
extern QDF_STATUS sme_remain_on_chn_rsp(tpAniSirGlobal pMac, uint8_t *pMsg);
|
||||
extern QDF_STATUS sme_remain_on_chn_ready(tHalHandle hHal, uint8_t *pMsg);
|
||||
|
||||
static QDF_STATUS init_sme_cmd_list(tpAniSirGlobal pMac);
|
||||
static void sme_abort_command(tpAniSirGlobal pMac, tSmeCmd *pCommand,
|
||||
|
|
|
|||
Loading…
Reference in a new issue