bcm43xxx: Fix the warnings.
Signed-off-by: liqinhui <liqinhui@xiaomi.com>
This commit is contained in:
parent
8d1f4e9697
commit
d99717765e
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user