rtl8192: add missing ipv6 header

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
This commit is contained in:
ElonH 2020-04-21 22:51:41 +08:00 committed by CN_SZTL
parent 2778bff9de
commit 7cd0fe465c
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -0,0 +1,14 @@
diff --git a/core/rtw_br_ext.c b/core/rtw_br_ext.c
index 964b366..ec1c620 100644
--- a/core/rtw_br_ext.c
+++ b/core/rtw_br_ext.c
@@ -51,6 +51,9 @@
#include <linux/icmpv6.h>
#include <net/ndisc.h>
#include <net/checksum.h>
+#ifndef _HAVE_ARCH_IPV6_CSUM
+#include <net/ip6_checksum.h>
+#endif
#endif
#endif