Skip to content
Commit 9ecf2923 authored by Sören Tempel's avatar Sören Tempel Committed by Jukka Rissanen
Browse files

net: slip: fix compilation without NET_L2_ETHERNET



For example it should be possible to compile and use the SLIP module
with NET_L2_DUMMY. This required the following changes:

* Fix a typo in the initializer for struct dummy_api
* Only define eth_capabilities if CONFIG_NET_L2_ETHERNET is defined to
  silence a -Wunused-function compiler warning
* Unconditionally include net/dummy.h

Signed-off-by: default avatarSören Tempel <soeren+git@soeren-tempel.net>
parent 7a824d8b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment