NSH: Add conditions so that ifconfig and ifup will not be disabled if we are using only PF_IEEE802154
diff --git a/nshlib/nsh.h b/nshlib/nsh.h
index 56b7f1c..a99610b 100644
--- a/nshlib/nsh.h
+++ b/nshlib/nsh.h
@@ -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.
*/