net: Only enable QEMU_NET_STACK with CONFIG_NET_SLIP_TAP

If CONFIG_NET_SLIP_TAP is not selected QEMU_NET_STACK will not work
which happen when CONFIG_NET_L2_BT is selected.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This commit is contained in:
Luiz Augusto von Dentz 2017-11-14 16:24:46 +02:00 committed by Andrew Boie
commit 3eaeeb82ab

View file

@ -35,7 +35,7 @@ if(EMU_PLATFORM)
# pass data between them. The QEMU flags are not set for standalone
# tests defined by CONFIG_NET_TEST.
if(CONFIG_NETWORKING)
if(NOT CONFIG_NET_TEST)
if(CONFIG_NET_SLIP_TAP)
set(QEMU_NET_STACK 1)
endif()
endif()