Author: nvieville
Update of /cvs/nonfree/rpms/wl-kmod/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv19221
Modified Files:
wl-kmod.spec
Added Files:
wl-kmod-011_kernel_4.2.patch
Log Message:
* Wed Aug 26 2015 Nicolas Viéville <nicolas.vieville(a)univ-valenciennes.fr> -
6.30.223.248-9
- Add patch for 4.2 kernel
wl-kmod-011_kernel_4.2.patch:
wl_cfg80211_hybrid.c | 4 ++++
1 file changed, 4 insertions(+)
--- NEW FILE wl-kmod-011_kernel_4.2.patch ---
diff -Naur hybrid-v35_64-nodebug-pcoem-6_30_223_248.orig/src/wl/sys/wl_cfg80211_hybrid.c
hybrid-v35_64-nodebug-pcoem-6_30_223_248/src/wl/sys/wl_cfg80211_hybrid.c
---
hybrid-v35_64-nodebug-pcoem-6_30_223_248.orig/src/wl/sys/wl_cfg80211_hybrid.c 2015-03-23
19:46:18.826690045 +0100
+++ hybrid-v35_64-nodebug-pcoem-6_30_223_248/src/wl/sys/wl_cfg80211_hybrid.c 2015-08-26
23:42:45.646307886 +0200
@@ -2084,7 +2084,11 @@
}
else if ((event == WLC_E_LINK && ~(flags & WLC_EVENT_MSG_LINK)) ||
event == WLC_E_DEAUTH_IND || event == WLC_E_DISASSOC_IND) {
+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 2, 0)
cfg80211_disconnected(ndev, 0, NULL, 0, GFP_KERNEL);
+#else
+ cfg80211_disconnected(ndev, 0, NULL, 0, false, GFP_KERNEL);
+#endif
clear_bit(WL_STATUS_CONNECTED, &wl->status);
wl_link_down(wl);
wl_init_prof(wl->profile);
Index: wl-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/wl-kmod/devel/wl-kmod.spec,v
retrieving revision 1.128
retrieving revision 1.129
diff -u -r1.128 -r1.129
--- wl-kmod.spec 21 Aug 2015 14:22:10 -0000 1.128
+++ wl-kmod.spec 26 Aug 2015 22:08:42 -0000 1.129
@@ -3,11 +3,11 @@
# "buildforkernels newest" macro for just that build; immediately after
# queuing that build enable the macro again for subsequent builds; that way
# a new akmod package will only get build when a new one is actually needed
-%global buildforkernels newest
+%global buildforkernels current
Name: wl-kmod
Version: 6.30.223.248
-Release: 8%{?dist}.11
+Release: 9%{?dist}
Summary: Kernel module for Broadcom wireless devices
Group: System Environment/Kernel
License: Redistributable, no modification permitted
@@ -25,6 +25,7 @@
Patch7: wl-kmod-008_kernel_3.18.patch
Patch8: wl-kmod-009_kernel_3.18_null_pointer.patch
Patch9: wl-kmod-010_kernel_4.0.patch
+Patch10: wl-kmod-011_kernel_4.2.patch
BuildRequires: %{_bindir}/kmodtool
@@ -73,6 +74,7 @@
%patch7 -p1 -b .kernel-3.18
%patch8 -p1 -b .kernel-3.18_null_pointer
%patch9 -p1 -b .kernel-4.0
+%patch10 -p1 -b .kernel-4.2
popd
for kernel_version in %{?kernel_versions} ; do
@@ -102,6 +104,9 @@
rm -rf $RPM_BUILD_ROOT
%changelog
+* Wed Aug 26 2015 Nicolas Viéville <nicolas.vieville(a)univ-valenciennes.fr> -
6.30.223.248-9
+- Add patch for 4.2 kernel
+
* Fri Aug 21 2015 Nicolas Chauvet <kwizart(a)gmail.com> - 6.30.223.248-8.11
- Rebuilt for kernel
Show replies by date