mxm_wifiex: fix build warnings in MM6X18540.p7 release

Fix the following build warnings in MM6X18540.p7 release.

mwifiex/mlan/mlan_uap_ioctl.c:2037:13: warning: no previous prototype for ‘wlan_uap_agcs_cfg’ [-Wmissing-prototypes]
 2037 | mlan_status wlan_uap_agcs_cfg(pmlan_adapter pmadapter,
      |             ^~~~~~~~~~~~~~~~~
mwifiex/mlinux/moal_main.c:4375:13: warning: no previous prototype for ‘woal_get_ind_rst_cfg’ [-Wmissing-prototypes]
 4415 | mlan_status woal_get_ind_rst_cfg(moal_handle *handle, t_u8 wait_option)
      |             ^~~~~~~~~~~~~~~~~~~~
mwifiex/mlinux/moal_main.c:13295:6: warning: no previous prototype for ‘woal_survey_dump_reset’ [-Wmissing-prototypes]
13335 | void woal_survey_dump_reset(moal_private *priv)
      |      ^~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
This commit is contained in:
Sherry Sun 2025-08-25 11:26:19 +08:00
parent 60f40a222f
commit cd6b82e5a0
2 changed files with 3 additions and 3 deletions

View file

@ -2034,7 +2034,7 @@ static mlan_status wlan_uap_snmp_mib_chan_track(pmlan_adapter pmadapter,
*
* @return MLAN_STATUS_SUCCESS or MLAN_STATUS_FAILURE
*/
mlan_status wlan_uap_agcs_cfg(pmlan_adapter pmadapter,
static mlan_status wlan_uap_agcs_cfg(pmlan_adapter pmadapter,
pmlan_ioctl_req pioctl_req)
{
mlan_private *pmpriv = pmadapter->priv[pioctl_req->bss_index];

View file

@ -4372,7 +4372,7 @@ static ssize_t woal_set_rps_map(struct netdev_rx_queue *queue, const char *buf,
*
* @return MLAN_STATUS_SUCCESS
*/
mlan_status woal_get_ind_rst_cfg(moal_handle *handle, t_u8 wait_option)
static mlan_status woal_get_ind_rst_cfg(moal_handle *handle, t_u8 wait_option)
{
moal_private *priv = NULL;
mlan_ds_misc_cfg *misc = NULL;
@ -13292,7 +13292,7 @@ done:
* @return N/A
*
*/
void woal_survey_dump_reset(moal_private *priv)
static void woal_survey_dump_reset(moal_private *priv)
{
mlan_ds_get_stats stats;