diff options
author | Alexander Aring <aar@pengutronix.de> | 2016-04-11 05:04:24 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2016-04-13 04:41:10 -0400 |
commit | edc73417d8f33a1dd329295275168923298d9a7b (patch) | |
tree | f629c744507e2be18a485330e8b2f9bc24457c9e | |
parent | 2732363181766533af65e9ced3dc04a30502c5d1 (diff) |
6lowpan: move mac802154 header
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>
-rw-r--r-- | include/net/6lowpan.h | 3 | ||||
-rw-r--r-- | net/6lowpan/iphc.c | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/net/6lowpan.h b/include/net/6lowpan.h index 04b877c5baff..da84cf920b78 100644 --- a/include/net/6lowpan.h +++ b/include/net/6lowpan.h | |||
@@ -58,6 +58,9 @@ | |||
58 | #include <net/ipv6.h> | 58 | #include <net/ipv6.h> |
59 | #include <net/net_namespace.h> | 59 | #include <net/net_namespace.h> |
60 | 60 | ||
61 | /* special link-layer handling */ | ||
62 | #include <net/mac802154.h> | ||
63 | |||
61 | #define EUI64_ADDR_LEN 8 | 64 | #define EUI64_ADDR_LEN 8 |
62 | 65 | ||
63 | #define LOWPAN_NHC_MAX_ID_LEN 1 | 66 | #define LOWPAN_NHC_MAX_ID_LEN 1 |
diff --git a/net/6lowpan/iphc.c b/net/6lowpan/iphc.c index dff15911bd04..8501dd532fe1 100644 --- a/net/6lowpan/iphc.c +++ b/net/6lowpan/iphc.c | |||
@@ -53,9 +53,6 @@ | |||
53 | #include <net/6lowpan.h> | 53 | #include <net/6lowpan.h> |
54 | #include <net/ipv6.h> | 54 | #include <net/ipv6.h> |
55 | 55 | ||
56 | /* special link-layer handling */ | ||
57 | #include <net/mac802154.h> | ||
58 | |||
59 | #include "6lowpan_i.h" | 56 | #include "6lowpan_i.h" |
60 | #include "nhc.h" | 57 | #include "nhc.h" |
61 | 58 | ||