]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
ARM64: Fix build break for RTL8187/RTL8192CU wifi
authorMichael Zoran <mzoran@crowfest.net>
Sun, 15 Jan 2017 15:25:18 +0000 (07:25 -0800)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Tue, 19 Sep 2017 10:07:49 +0000 (12:07 +0200)
These drivers use an ASM function from the base
system to compute the ipv6 checksum.  These functions
are not available on ARM64, probably because nobody
has bother to write them.  The base system does have
a generic "C" version, so a simple fix is to include
the header to use the generic version on ARM64 only.

A longer term solution would be to submit the necessary
ASM function to the upstream source.

With this change, these drivers now compile without
any errors on ARM64.

Signed-off-by: Michael Zoran <mzoran@crowfest.net>
drivers/net/wireless/realtek/rtl8192cu/core/rtw_br_ext.c

index a5ac60130a3cb48fc882f4fb38625e1b3109c362..39289c97054305fb62ac9b7e203b99e2d3534868 100644 (file)
@@ -51,6 +51,7 @@
 #include <linux/icmpv6.h>
 #include <net/ndisc.h>
 #include <net/checksum.h>
+#include <net/ip6_checksum.h>
 #endif
 #endif