From 3367bde8fe98ff040c04e2a7c20edfd47adb6d5d Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 21 Aug 2017 09:32:07 -0600 Subject: [PATCH] NSH: Add conditions so that ifconfig and ifup will not be disabled if we are using only PF_IEEE802154 --- nshlib/nsh.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nshlib/nsh.h b/nshlib/nsh.h index 56b7f1c68..a99610b44 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. */