mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-19 02:17:37 +08:00
NSH: Add conditions so that ifconfig and ifup will not be disabled if we are using only PF_IEEE802154
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user