NSH: Add conditions so that ifconfig and ifup will not be disabled if we are using only PF_IEEE802154

This commit is contained in:
Gregory Nutt 2017-08-21 09:32:07 -06:00
parent e1b0821eb1
commit 3367bde8fe

View File

@ -155,9 +155,9 @@
* domain sockets were enable.
*/
#if !defined(CONFIG_NET_ETHERNET) && !defined(CONFIG_NET_6LOWPAN) && \
!defined(CONFIG_NET_LOOPBACK) && !defined(CONFIG_NET_SLIP) && \
!defined(CONFIG_NET_TUN)
#if !defined(CONFIG_NET_ETHERNET) && !defined(CONFIG_NET_6LOWPAN) && \
!defined(CONFIG_NET_IEEE802154) && !defined(CONFIG_NET_LOOPBACK) && \
!defined(CONFIG_NET_SLIP) && !defined(CONFIG_NET_TUN)
/* No link layer protocol is a good indication that there is no network
* device.
*/