longan/kernel/linux-4.9/drivers/net/wireless/aic8800/aic8800_fdrv/rwnx_gki.hold mode 100644new mode 100755
.. .. @@ -1,9 +1,9 @@ 1 1 #ifndef __RWNX_GKI_H 2 2 #define __RWNX_GKI_H 3 3 4 -#include "net/wireless/core.h"4 +#if IS_ENABLED(CONFIG_GKI_OPT_FEATURES) && IS_ENABLED(CONFIG_ANDROID) && (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0))5 5 6 -#if IS_ENABLED(CONFIG_ANDROID) && (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0))6 +#include "net/wireless/core.h"7 7 8 8 bool rwnx_cfg80211_rx_spurious_frame(struct net_device *dev, 9 9 const u8 *addr, gfp_t gfp);