1 From d2ab394e853bafeeadb911155b1621886c299d5f Mon Sep 17 00:00:00 2001
2 From: Michael Zoran <mzoran@crowfest.net>
3 Date: Sun, 15 Jan 2017 07:25:18 -0800
4 Subject: [PATCH] ARM64: Fix build break for RTL8187/RTL8192CU wifi
6 These drivers use an ASM function from the base
7 system to compute the ipv6 checksum. These functions
8 are not available on ARM64, probably because nobody
9 has bother to write them. The base system does have
10 a generic "C" version, so a simple fix is to include
11 the header to use the generic version on ARM64 only.
13 A longer term solution would be to submit the necessary
14 ASM function to the upstream source.
16 With this change, these drivers now compile without
19 Signed-off-by: Michael Zoran <mzoran@crowfest.net>
21 drivers/net/wireless/realtek/rtl8192cu/core/rtw_br_ext.c | 1 +
22 1 file changed, 1 insertion(+)
24 --- a/drivers/net/wireless/realtek/rtl8192cu/core/rtw_br_ext.c
25 +++ b/drivers/net/wireless/realtek/rtl8192cu/core/rtw_br_ext.c
27 #include <linux/icmpv6.h>
28 #include <net/ndisc.h>
29 #include <net/checksum.h>
30 +#include <net/ip6_checksum.h>