From 99ac4d5c98a3937cc2e2f11c4b36dc526fe45ea7 Mon Sep 17 00:00:00 2001 From: evilphish Date: Sun, 12 Nov 2017 17:52:43 +0100 Subject: [PATCH] Fix for the fix for compilation errors on 4.11 kernels --- os_dep/linux/ioctl_cfg80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os_dep/linux/ioctl_cfg80211.c b/os_dep/linux/ioctl_cfg80211.c index b9b05d4..9af4eff 100644 --- a/os_dep/linux/ioctl_cfg80211.c +++ b/os_dep/linux/ioctl_cfg80211.c @@ -3731,7 +3731,7 @@ static int rtw_cfg80211_add_monitor_if(_adapter *padapter, char *name, struct ne mon_ndev->name[IFNAMSIZ - 1] = 0; #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12 ,0)) mon_ndev->needs_free_netdev = true; -#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)) +#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 9)) mon_ndev->priv_destructor = rtw_ndev_destructor; #else mon_ndev->destructor = rtw_ndev_destructor;