rtl8192: missing ipv6 header

https://github.com/project-openwrt/openwrt-kisco/issues/40
This commit is contained in:
ElonH 2020-04-21 22:51:41 +08:00
parent 68548788db
commit 2c5b53d366
No known key found for this signature in database
GPG Key ID: 5BCDD7F78A258D4C

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