6loWPAN: Fix some conditional compilation

This commit is contained in:
Gregory Nutt 2017-04-07 07:24:09 -06:00
parent 194c2d86a8
commit 4c56a28016

View File

@ -114,7 +114,7 @@ int netlib_setmacaddr(FAR const char *ifname, FAR const uint8_t *macaddr);
int netlib_getmacaddr(FAR const char *ifname, FAR uint8_t *macaddr);
#endif
#ifdef CONFIG_NET_ETHERNET
#ifdef CONFIG_NET_6LOWPAN
/* Get IEEE802.15.4 MAC driver node address */
int netlib_setnodeaddr(FAR const char *ifname, FAR const uint8_t *nodeaddr);