mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00: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:
parent
e1b0821eb1
commit
3367bde8fe
1 changed files with 3 additions and 3 deletions
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue