Skip to content

Commit 5358176

Browse files
Andy3Kuoasus-leslieyu
authored andcommitted
wifi: rtl8812au: Fix the problem using the csum_ipv6_magic() function
Change-Id: Ie6430fe47ecf09232e95839ebfb18aded8e8db34
1 parent fd3bf82 commit 5358176

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • drivers/net/wireless/rockchip_wlan/rtl8812AU_8821AU_linux/core

drivers/net/wireless/rockchip_wlan/rtl8812AU_8821AU_linux/core/rtw_br_ext.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,13 @@
4848
#include <linux/ipv6.h>
4949
#include <linux/icmpv6.h>
5050
#include <net/ndisc.h>
51+
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 24))
52+
#include <net/ip6_checksum.h>
53+
#else
5154
#include <net/checksum.h>
5255
#endif
5356
#endif
57+
#endif
5458

5559
#ifdef CONFIG_BR_EXT
5660

0 commit comments

Comments
 (0)