module-broadcom-wl rebuild

This commit is contained in:
idriskalp
2019-12-27 19:10:26 +03:00
parent 4d1519127f
commit 0dd774a74c
2 changed files with 25 additions and 2 deletions
+15
View File
@@ -0,0 +1,15 @@
diff --git a/src/wl/sys/wl_cfg80211_hybrid.c b/src/wl/sys/wl_cfg80211_hybrid.c
index cdf8c01..63b5650 100644
--- a/src/wl/sys/wl_cfg80211_hybrid.c
+++ b/src/wl/sys/wl_cfg80211_hybrid.c
@@ -52,6 +52,10 @@ u32 wl_dbg_level = WL_DBG_ERR | WL_DBG_INFO;
u32 wl_dbg_level = WL_DBG_ERR;
#endif
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 1, 0)
+#define get_ds() ((mm_segment_t) { (-1UL) })
+#endif
+
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
static s32 wl_cfg80211_change_iface(struct wiphy *wiphy, struct net_device *ndev,
enum nl80211_iftype type, struct vif_params *params);
+10 -2
View File
@@ -15,7 +15,7 @@
<Archive sha1sum="8acbdbb4ab4ab4123d1773b616904798fbef9277" type="targz" target="i686">https://docs.broadcom.com/docs-and-downloads/docs/linux_sta/hybrid-v35-nodebug-pcoem-6_30_223_271.tar.gz</Archive>
<Archive sha1sum="1f568bb989d175813c5631c6629d9479eae6f3be" type="targz" target="x86_64">https://docs.broadcom.com/docs-and-downloads/docs/linux_sta/hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz</Archive>
<BuildDependencies>
<Dependency version="4.19.56">kernel-module-headers</Dependency>
<Dependency version="5.4.6">kernel-module-headers</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">patch/license.patch</Patch>
@@ -25,13 +25,14 @@
<Patch level="1">linux-4.11.patch</Patch>
<Patch level="1">linux-4.12.patch</Patch>
<Patch level="1">linux-4.15.patch</Patch>
<Patch level="1">linux-5.1.patch</Patch>
</Patches>
</Source>
<Package>
<Name>module-broadcom-wl</Name>
<RuntimeDependencies>
<Dependency version="4.19.56">kernel</Dependency>
<Dependency version="5.4.6">kernel</Dependency>
<Dependency release="current">module-broadcom-wl-userspace</Dependency>
</RuntimeDependencies>
<Files>
@@ -60,6 +61,13 @@
</Package>
<History>
<Update release="26">
<Date>2019-12-27</Date>
<Version>6.30.223.271</Version>
<Comment>Rebuild.</Comment>
<Name>Idris Kalp</Name>
<Email>idriskalp@gmail.com</Email>
</Update>
<Update release="25">
<Date>2019-06-26</Date>
<Version>6.30.223.271</Version>