mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
Merge pull request #1866 from MilhouseVH/le82_linux_41112
linux: update to linux-4.11.12 [le82, Generic]
This commit is contained in:
commit
cb29080831
@ -17,7 +17,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="RTL8192DU"
|
||||
PKG_VERSION="efc8508"
|
||||
PKG_VERSION="4201fd6"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://github.com/lwfinger/rtl8192du"
|
||||
|
@ -0,0 +1,26 @@
|
||||
From 58fc45a4511b8b9d6b52813168e3eee657517b1f Mon Sep 17 00:00:00 2001
|
||||
From: MilhouseVH <milhouseVH.github@nmacleod.com>
|
||||
Date: Thu, 6 Jul 2017 21:07:42 +0100
|
||||
Subject: [PATCH] Fix build with kernel 4.11.9
|
||||
|
||||
---
|
||||
os_dep/linux/ioctl_cfg80211.c | 5 +++++
|
||||
1 file changed, 5 insertions(+)
|
||||
|
||||
diff --git a/os_dep/linux/ioctl_cfg80211.c b/os_dep/linux/ioctl_cfg80211.c
|
||||
index 492bb1a..5dd7bc7 100644
|
||||
--- a/os_dep/linux/ioctl_cfg80211.c
|
||||
+++ b/os_dep/linux/ioctl_cfg80211.c
|
||||
@@ -3949,7 +3949,12 @@ static int rtw_cfg80211_add_monitor_if(_adapter *padapter, char *name, struct ne
|
||||
mon_ndev->type = ARPHRD_IEEE80211_RADIOTAP;
|
||||
strncpy(mon_ndev->name, name, IFNAMSIZ);
|
||||
mon_ndev->name[IFNAMSIZ - 1] = 0;
|
||||
+#if (LINUX_VERSION_CODE>=KERNEL_VERSION(4,11,9))
|
||||
+ mon_ndev->needs_free_netdev = false;
|
||||
+ mon_ndev->priv_destructor = rtw_ndev_destructor;
|
||||
+#else
|
||||
mon_ndev->destructor = rtw_ndev_destructor;
|
||||
+#endif
|
||||
|
||||
#if (LINUX_VERSION_CODE>=KERNEL_VERSION(2,6,29))
|
||||
mon_ndev->netdev_ops = &rtw_cfg80211_monitor_if_ops;
|
@ -64,7 +64,7 @@ case "$LINUX" in
|
||||
PKG_PATCH_DIRS="default-rpi"
|
||||
;;
|
||||
*)
|
||||
PKG_VERSION="4.11.8"
|
||||
PKG_VERSION="4.11.12"
|
||||
PKG_URL="http://www.kernel.org/pub/linux/kernel/v4.x/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||
PKG_PATCH_DIRS="default"
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user