ARM64: Fix build break for RTL8187/RTL8192CU wifi
authorMichael Zoran <mzoran@crowfest.net>
Sun, 15 Jan 2017 15:25:18 +0000 (07:25 -0800)
committerRaspbian kernel package updater <root@raspbian.org>
Sun, 23 Jul 2017 02:21:04 +0000 (02:21 +0000)
commit5d71d805a14206cad2377304b2cad08b8f4867ac
treeb4f6bb9fde2b6695feda4e1be0c654c5a6d6ed7d
parent3a77579ea6bba50717c5ab1e6692bfbf8420c1e6
ARM64: Fix build break for RTL8187/RTL8192CU wifi

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