Skip to content
Permalink
Browse files

net: mgmt: Remove L1 layer as that is useless

The network interface events should be in L2 layer so there
is no one that would emit L1 events so no need for it.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
  • Loading branch information...
jukkar committed Jul 3, 2019
1 parent 74e173c commit a18bd3a2e7ff439ce150e5815c7313d8b4841783
Showing with 3 additions and 4 deletions.
  1. +1 −1 include/net/net_event.h
  2. +2 −3 include/net/net_mgmt.h
@@ -26,7 +26,7 @@ extern "C" {
/** @cond INTERNAL_HIDDEN */

/* Network Interface events */
#define _NET_IF_LAYER NET_MGMT_LAYER_L1
#define _NET_IF_LAYER NET_MGMT_LAYER_L2
#define _NET_IF_CORE_CODE 0x001
#define _NET_EVENT_IF_BASE (NET_MGMT_EVENT_BIT | \
NET_MGMT_IFACE_BIT | \
@@ -66,9 +66,8 @@ struct net_if;


/* Useful generic definitions */
#define NET_MGMT_LAYER_L1 1
#define NET_MGMT_LAYER_L2 2
#define NET_MGMT_LAYER_L3 3
#define NET_MGMT_LAYER_L2 1
#define NET_MGMT_LAYER_L3 2

/** @endcond */

0 comments on commit a18bd3a

Please sign in to comment.
You can’t perform that action at this time.