mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-03 07:57:49 +00:00
RTL8192DU: update to RTL8192DU-54c95aa
This commit is contained in:
parent
a530500a29
commit
8a1a41f1e7
@ -3,8 +3,8 @@
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="RTL8192DU"
|
||||
PKG_VERSION="72b53f8a6c2a6696d60791df4455c3073fffc4e4"
|
||||
PKG_SHA256="dec3cc45601c2c6dab47816523cb5a5731393d34cc75ec0f96a91191d3563fdd"
|
||||
PKG_VERSION="54c95aaa23fe332afaa1ed4aacbb0db43aa3c7dd"
|
||||
PKG_SHA256="63007fe5a19606303b4666ec54fe48527c9504e136c6e30f5f119a39517115cf"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://github.com/lwfinger/rtl8192du"
|
||||
PKG_URL="https://github.com/lwfinger/rtl8192du/archive/$PKG_VERSION.tar.gz"
|
||||
|
@ -1,4 +1,4 @@
|
||||
From d295ee29d71a7969047fbe5042cec471408632c4 Mon Sep 17 00:00:00 2001
|
||||
From 1334c3b1378819cc428bc68222245c5c10296937 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Cl=C3=A9ment=20Peron?=
|
||||
<1859302+clementperon@users.noreply.github.com>
|
||||
Date: Wed, 6 Jun 2018 17:40:54 +0200
|
||||
@ -9,18 +9,17 @@ Why create a new __vfs_read_alt whereas the __vfs_read is exported and seems to
|
||||
|
||||
Remove __vfs_read_alt code and it's dependencies and use the __vfs_read function instead
|
||||
---
|
||||
os_dep/osdep_service.c | 32 +-------------------------------
|
||||
1 file changed, 1 insertion(+), 31 deletions(-)
|
||||
os_dep/osdep_service.c | 31 +------------------------------
|
||||
1 file changed, 1 insertion(+), 30 deletions(-)
|
||||
|
||||
diff --git a/os_dep/osdep_service.c b/os_dep/osdep_service.c
|
||||
index 286096a..9dd3d2b 100644
|
||||
index 1aee9b2..dc688f2 100644
|
||||
--- a/os_dep/osdep_service.c
|
||||
+++ b/os_dep/osdep_service.c
|
||||
@@ -40,36 +40,6 @@ atomic_t _malloc_cnt = ATOMIC_INIT(0);
|
||||
atomic_t _malloc_size = ATOMIC_INIT(0);
|
||||
#endif /* DBG_MEMORY_LEAK */
|
||||
@@ -42,35 +42,6 @@ static inline ssize_t call_read_iter(struct file *file, struct kiocb *kio,
|
||||
}
|
||||
#endif
|
||||
|
||||
-
|
||||
-static ssize_t new_sync_read(struct file *filp, void __user *buf, __kernel_size_t len, loff_t *ppos)
|
||||
-{
|
||||
- struct iovec iov;
|
||||
@ -53,7 +52,7 @@ index 286096a..9dd3d2b 100644
|
||||
/*
|
||||
* Translate the OS dependent @param error_code to OS independent RTW_STATUS_CODE
|
||||
* @return: one of RTW_STATUS_CODE
|
||||
@@ -1086,7 +1056,7 @@ static int readFile(struct file *fp,char *buf,int len)
|
||||
@@ -967,7 +938,7 @@ static int readFile(struct file *fp,char *buf,int len)
|
||||
|
||||
while(sum<len) {
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 1, 0))
|
||||
@ -62,3 +61,6 @@ index 286096a..9dd3d2b 100644
|
||||
#else
|
||||
rlen = fp->f_op->read(fp, buf+sum, len-sum, &fp->f_pos);
|
||||
#endif
|
||||
--
|
||||
2.14.1
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
From ad504e6bd4df0210904a10d57ddc48670bc41675 Mon Sep 17 00:00:00 2001
|
||||
From fc51eecebcdefa8d99b1e8e9941219726bdab2a0 Mon Sep 17 00:00:00 2001
|
||||
From: 5schatten <supervisedthinking@gmail.com>
|
||||
Date: Thu, 21 Mar 2019 22:26:31 +0100
|
||||
Subject: [PATCH] Revert "rtl8192du: Fix builds for kernels older than 4.11.0"
|
||||
@ -9,7 +9,7 @@ This reverts commit 01722435acb1d62c9453b86161d2d8b99d702648.
|
||||
1 file changed, 8 deletions(-)
|
||||
|
||||
diff --git a/os_dep/osdep_service.c b/os_dep/osdep_service.c
|
||||
index 9efffc4..99a424f 100644
|
||||
index dc688f2..3635755 100644
|
||||
--- a/os_dep/osdep_service.c
|
||||
+++ b/os_dep/osdep_service.c
|
||||
@@ -34,14 +34,6 @@
|
||||
@ -24,6 +24,9 @@ index 9efffc4..99a424f 100644
|
||||
-}
|
||||
-#endif
|
||||
-
|
||||
#ifdef DBG_MEMORY_LEAK
|
||||
#include <asm/atomic.h>
|
||||
atomic_t _malloc_cnt = ATOMIC_INIT(0);
|
||||
/*
|
||||
* Translate the OS dependent @param error_code to OS independent RTW_STATUS_CODE
|
||||
* @return: one of RTW_STATUS_CODE
|
||||
--
|
||||
2.14.1
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user