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