net/icmpv6: Add some header file necessary for correct build.

drivers/wireless/ieee80211:  Fix typos and spelling errors as needed for Photon build.
This commit is contained in:
Anthony Merlino 2017-11-01 06:58:33 -06:00 committed by Gregory Nutt
parent c33bde1f82
commit 02721f9d95
3 changed files with 6 additions and 4 deletions

View File

@ -83,10 +83,10 @@
# if defined(CONFIG_IEEE80211_BROADCOM_HPWORK) # if defined(CONFIG_IEEE80211_BROADCOM_HPWORK)
# define BCMFWORK HPWORK # define BCMFWORK HPWORK
# elif defined(CONFIG_IEEE80211_BROADCOM_HLWORK) # elif defined(CONFIG_IEEE80211_BROADCOM_LPWORK)
# define BCMFWORK LPWORK # define BCMFWORK LPWORK
# else # else
# error Neither CONFIG_IEEE80211_BROADCOM_HPWORK nor CONFIG_IEEE80211_BROADCOM_HLWORK defined # error Neither CONFIG_IEEE80211_BROADCOM_HPWORK nor CONFIG_IEEE80211_BROADCOM_LPWORK defined
# endif # endif
#endif #endif
@ -926,7 +926,7 @@ static void bcmf_ipv6multicast(FAR struct bcmf_dev_s *priv)
mac[0] = 0x33; mac[0] = 0x33;
mac[1] = 0x33; mac[1] = 0x33;
dev = &priv->dev; dev = &priv->bc_dev;
tmp16 = dev->d_ipv6addr[6]; tmp16 = dev->d_ipv6addr[6];
mac[2] = 0xff; mac[2] = 0xff;
mac[3] = tmp16 >> 8; mac[3] = tmp16 >> 8;
@ -1122,7 +1122,7 @@ int bcmf_netdev_register(FAR struct bcmf_dev_s *priv)
priv->bc_txpoll = wd_create(); /* Create periodic poll timer */ priv->bc_txpoll = wd_create(); /* Create periodic poll timer */
DEBUGASSERT(priv->bc_txpoll != NULL && priv->bc_txtimeout != NULL); DEBUGASSERT(priv->bc_txpoll != NULL);
/* Initialize network stack interface buffer */ /* Initialize network stack interface buffer */

View File

@ -53,6 +53,7 @@
#include <nuttx/net/netdev.h> #include <nuttx/net/netdev.h>
#include <nuttx/net/net.h> #include <nuttx/net/net.h>
#include <nuttx/net/icmpv6.h> #include <nuttx/net/icmpv6.h>
#include <nuttx/net/ethernet.h>
#include "netdev/netdev.h" #include "netdev/netdev.h"
#include "utils/utils.h" #include "utils/utils.h"

View File

@ -46,6 +46,7 @@
#include <nuttx/net/net.h> #include <nuttx/net/net.h>
#include <nuttx/net/netdev.h> #include <nuttx/net/netdev.h>
#include <nuttx/net/netstats.h> #include <nuttx/net/netstats.h>
#include <nuttx/net/ethernet.h>
#include "devif/devif.h" #include "devif/devif.h"
#include "netdev/netdev.h" #include "netdev/netdev.h"