Skip to content

Commit

Permalink
6lowpan: move mac802154 header
Browse files Browse the repository at this point in the history
In case of link-layer specific handling for 802.15.4 we need to cast to
802.15.4 sepcific structures. Simple add this header when include the
6lowpan header.

Signed-off-by: Alexander Aring <aar@pengutronix.de>
Reviewed-by: Stefan Schmidt<stefan@osg.samsung.com>
Acked-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
  • Loading branch information
Alexander Aring authored and holtmann committed Apr 13, 2016
1 parent 2732363 commit edc7341
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions include/net/6lowpan.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@
#include <net/ipv6.h>
#include <net/net_namespace.h>

/* special link-layer handling */
#include <net/mac802154.h>

#define EUI64_ADDR_LEN 8

#define LOWPAN_NHC_MAX_ID_LEN 1
Expand Down
3 changes: 0 additions & 3 deletions net/6lowpan/iphc.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@
#include <net/6lowpan.h>
#include <net/ipv6.h>

/* special link-layer handling */
#include <net/mac802154.h>

#include "6lowpan_i.h"
#include "nhc.h"

Expand Down

0 comments on commit edc7341

Please sign in to comment.