mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 23:47:49 +00:00
Merge pull request #4600 from chewitt/fix-bcmsta
bcm_sta: fix building on Linux 5.9
This commit is contained in:
commit
62f832e45a
@ -0,0 +1,12 @@
|
||||
--- a/x86-64/src/wl/sys/wl_linux.c 2020-10-12 21:19:15.256305165 +0000
|
||||
+++ b/x86-64/src/wl/sys/wl_linux.c 2020-10-12 21:20:38.687530895 +0000
|
||||
@@ -1643,7 +1643,7 @@
|
||||
goto done2;
|
||||
}
|
||||
|
||||
- if (segment_eq(get_fs(), KERNEL_DS))
|
||||
+ if (get_fs().seg == KERNEL_DS.seg)
|
||||
buf = ioc.buf;
|
||||
|
||||
else if (ioc.buf) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user