Message ID | 1460365464-12435-12-git-send-email-aar@pengutronix.de (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Hello. On 11/04/16 11:04, Alexander Aring wrote: > 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> > --- > include/net/6lowpan.h | 3 +++ > 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 04b877c..da84cf9 100644 > --- a/include/net/6lowpan.h > +++ b/include/net/6lowpan.h > @@ -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 > diff --git a/net/6lowpan/iphc.c b/net/6lowpan/iphc.c > index dff1591..8501dd5 100644 > --- a/net/6lowpan/iphc.c > +++ b/net/6lowpan/iphc.c > @@ -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" > Reviewed-by: Stefan Schmidt<stefan@osg.samsung.com> regards Stefan Schmidt -- To unsubscribe from this list: send the line "unsubscribe linux-wpan" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/include/net/6lowpan.h b/include/net/6lowpan.h index 04b877c..da84cf9 100644 --- a/include/net/6lowpan.h +++ b/include/net/6lowpan.h @@ -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 diff --git a/net/6lowpan/iphc.c b/net/6lowpan/iphc.c index dff1591..8501dd5 100644 --- a/net/6lowpan/iphc.c +++ b/net/6lowpan/iphc.c @@ -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"
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> --- include/net/6lowpan.h | 3 +++ net/6lowpan/iphc.c | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-)