bcm43xxx: Fix the warnings.

Signed-off-by: liqinhui <liqinhui@xiaomi.com>
This commit is contained in:
liqinhui 2024-02-05 17:40:57 +08:00 committed by Xiang Xiao
parent 8d1f4e9697
commit d99717765e
2 changed files with 2 additions and 10 deletions

View File

@ -498,6 +498,8 @@ int bcmf_wl_active(FAR struct bcmf_dev_s *priv, bool active)
goto errout_in_sdio_active;
}
wlinfo("set roam_off as value %"PRIu32"\n", value);
/* TODO configure EAPOL version to default */
out_len = 8;

View File

@ -865,11 +865,6 @@ static int bcmf_txavail(FAR struct net_driver_s *dev)
#if defined(CONFIG_NET_MCASTGROUP) || defined(CONFIG_NET_ICMPv6)
static int bcmf_addmac(FAR struct net_driver_s *dev, FAR const uint8_t *mac)
{
FAR struct bcmf_dev_s *priv = (FAR struct bcmf_dev_s *)dev->d_private;
/* Add the MAC address to the hardware multicast routing table */
UNUSED(priv);
return OK;
}
#endif
@ -895,11 +890,6 @@ static int bcmf_addmac(FAR struct net_driver_s *dev, FAR const uint8_t *mac)
#ifdef CONFIG_NET_MCASTGROUP
static int bcmf_rmmac(FAR struct net_driver_s *dev, FAR const uint8_t *mac)
{
FAR struct bcmf_dev_s *priv = (FAR struct bcmf_dev_s *)dev->d_private;
/* Add the MAC address to the hardware multicast routing table */
UNUSED(priv);
return OK;
}
#endif