tzh
2024-08-15 d4a1bd480003f3e1a0590bc46fbcb24f05652ca7
longan/kernel/linux-4.9/drivers/net/wireless/aic8800/aic8800_fdrv/rwnx_gki.h
old mode 100644new mode 100755
....@@ -1,9 +1,9 @@
11 #ifndef __RWNX_GKI_H
22 #define __RWNX_GKI_H
33
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))
55
6
-#if IS_ENABLED(CONFIG_ANDROID) && (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0))
6
+#include "net/wireless/core.h"
77
88 bool rwnx_cfg80211_rx_spurious_frame(struct net_device *dev,
99 const u8 *addr, gfp_t gfp);