Author: nvieville
Update of /cvs/nonfree/rpms/wl-kmod/F-18
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv14706
Modified Files:
wl-kmod.spec
Added Files:
broadcom-wl-5.100.82.112-kernel-3.9.patch
Log Message:
* Tue May 14 2013 Nicolas Vieville <nicolas.vieville(a)univ-valenciennes.fr> -
5.100.82.112-10
- Added patch to build for kernel >= 3.9
broadcom-wl-5.100.82.112-kernel-3.9.patch:
wl_cfg80211.c | 4 ++++
1 file changed, 4 insertions(+)
--- NEW FILE broadcom-wl-5.100.82.112-kernel-3.9.patch ---
diff -Naur hybrid-portsrc_x86_32-v5_100_82_112.orig/src/wl/sys/wl_cfg80211.c
hybrid-portsrc_x86_32-v5_100_82_112/src/wl/sys/wl_cfg80211.c
--- hybrid-portsrc_x86_32-v5_100_82_112.orig/src/wl/sys/wl_cfg80211.c 2013-03-08
17:34:37.798272480 +0100
+++ hybrid-portsrc_x86_32-v5_100_82_112/src/wl/sys/wl_cfg80211.c 2013-03-08
18:08:14.318082646 +0100
@@ -2123,7 +2123,11 @@
ie_len = (size_t)(ies->len);
#endif
beacon_interval = bss->beacon_interval;
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 9, 0)
cfg80211_put_bss(bss);
+#else
+ cfg80211_put_bss(wl_to_wiphy(wl), bss);
+#endif
}
tim = bcm_parse_tlvs(ie, ie_len, WLAN_EID_TIM);
Index: wl-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/wl-kmod/F-18/wl-kmod.spec,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -r1.100 -r1.101
--- wl-kmod.spec 14 May 2013 15:29:42 -0000 1.100
+++ wl-kmod.spec 14 May 2013 19:46:40 -0000 1.101
@@ -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: 5.100.82.112
-Release: 9%{?dist}.12
+Release: 10%{?dist}
Summary: Kernel module for Broadcom wireless devices
Group: System Environment/Kernel
License: Redistributable, no modification permitted
@@ -24,6 +24,7 @@
Patch6: broadcom-wl-5.100.82.112-recent_kernel_ioctl.patch
Patch7: broadcom-wl-5.100.82.112-wext_workaround.patch
Patch8: broadcom-wl-5.100.82.112-kernel-3.8.patch
+Patch9: broadcom-wl-5.100.82.112-kernel-3.9.patch
BuildRequires: %{_bindir}/kmodtool
@@ -70,6 +71,7 @@
%patch6 -p1 -b .recent_kernel_ioctl
%patch7 -p1 -b .wext_workaround.patch
%patch8 -p1 -b .kernel-3.8
+%patch9 -p1 -b .kernel-3.9
popd
for kernel_version in %{?kernel_versions} ; do
@@ -99,6 +101,9 @@
rm -rf $RPM_BUILD_ROOT
%changelog
+* Tue May 14 2013 Nicolas Vieville <nicolas.vieville(a)univ-valenciennes.fr> -
5.100.82.112-10
+- Added patch to build for kernel >= 3.9
+
* Tue May 14 2013 Nicolas Chauvet <kwizart(a)gmail.com> - 5.100.82.112-9.12
- Rebuilt for kernel