From 0dd774a74c5c7673489dcf8bc414571c7409589c Mon Sep 17 00:00:00 2001 From: idriskalp Date: Fri, 27 Dec 2019 19:10:26 +0300 Subject: [PATCH] module-broadcom-wl rebuild --- .../module-broadcom-wl/files/linux-5.1.patch | 15 +++++++++++++++ kernel/drivers/module-broadcom-wl/pspec.xml | 12 ++++++++++-- 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100755 kernel/drivers/module-broadcom-wl/files/linux-5.1.patch diff --git a/kernel/drivers/module-broadcom-wl/files/linux-5.1.patch b/kernel/drivers/module-broadcom-wl/files/linux-5.1.patch new file mode 100755 index 00000000..692f02dd --- /dev/null +++ b/kernel/drivers/module-broadcom-wl/files/linux-5.1.patch @@ -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); \ No newline at end of file diff --git a/kernel/drivers/module-broadcom-wl/pspec.xml b/kernel/drivers/module-broadcom-wl/pspec.xml index 9ee63cba..cd1755ae 100755 --- a/kernel/drivers/module-broadcom-wl/pspec.xml +++ b/kernel/drivers/module-broadcom-wl/pspec.xml @@ -15,7 +15,7 @@ https://docs.broadcom.com/docs-and-downloads/docs/linux_sta/hybrid-v35-nodebug-pcoem-6_30_223_271.tar.gz https://docs.broadcom.com/docs-and-downloads/docs/linux_sta/hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz - kernel-module-headers + kernel-module-headers patch/license.patch @@ -25,13 +25,14 @@ linux-4.11.patch linux-4.12.patch linux-4.15.patch + linux-5.1.patch module-broadcom-wl - kernel + kernel module-broadcom-wl-userspace @@ -60,6 +61,13 @@ + + 2019-12-27 + 6.30.223.271 + Rebuild. + Idris Kalp + idriskalp@gmail.com + 2019-06-26 6.30.223.271