Merge lp:~computersforpeace/ubuntu/utopic/bcmwl/fix-for-1358966 into lp:ubuntu/utopic/bcmwl

Proposed by Brian Norris on 2014-09-13
Status: Merged
Merge reported by: Sebastien Bacher
Merged at revision: not available
Proposed branch: lp:~computersforpeace/ubuntu/utopic/bcmwl/fix-for-1358966
Merge into: lp:ubuntu/utopic/bcmwl
Diff against target: 66 lines (+44/-0)
3 files modified
debian/changelog (+10/-0)
debian/dkms.conf.in (+1/-0)
debian/patches/0014-add-support-for-Linux-3.17-rc4.patch (+33/-0)
To merge this branch: bzr merge lp:~computersforpeace/ubuntu/utopic/bcmwl/fix-for-1358966
Reviewer Review Type Date Requested Status
Sebastien Bacher 2014-09-13 Approve on 2014-11-21
Review via email: mp+234562@code.launchpad.net

Description of the change

Fix for new alloc_netdev() API in 3.17 Linux release candidate (LP: #1358966)

To post a comment you must log in.
Sebastien Bacher (seb128) wrote :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2014-08-01 11:09:43 +0000
3+++ debian/changelog 2014-09-13 05:17:33 +0000
4@@ -1,3 +1,13 @@
5+bcmwl (6.30.223.248+bdcom-0ubuntu3) UNRELEASED; urgency=medium
6+
7+ * debian/patches/0014-add-support-for-Linux-3.17-rc4.patch:
8+ - Fix build for new alloc_netdev() API in 3.17 release candidate
9+ (LP: #1358966)
10+ * debian/dkms.conf.in:
11+ - Build with new patch
12+
13+ -- Brian Norris <computersforpeace@gmail.com> Fri, 12 Sep 2014 22:06:11 -0700
14+
15 bcmwl (6.30.223.248+bdcom-0ubuntu1) utopic; urgency=medium
16
17 * New upstream release: (LP: #1342645)
18
19=== modified file 'debian/dkms.conf.in'
20--- debian/dkms.conf.in 2014-08-01 11:09:43 +0000
21+++ debian/dkms.conf.in 2014-09-13 05:17:33 +0000
22@@ -12,5 +12,6 @@
23 PATCH[4]="0011-do-not-define-__devinit-as-__init-in-linux-3.8-as-__.patch"
24 PATCH[5]="0012-add-support-for-Linux-3.15.patch"
25 PATCH[6]="0013-gcc.patch"
26+PATCH[7]="0014-add-support-for-Linux-3.17-rc4.patch"
27 #PATCH_MATCH[6]="^3.[10-11]"
28 AUTOINSTALL="yes"
29
30=== added file 'debian/patches/0014-add-support-for-Linux-3.17-rc4.patch'
31--- debian/patches/0014-add-support-for-Linux-3.17-rc4.patch 1970-01-01 00:00:00 +0000
32+++ debian/patches/0014-add-support-for-Linux-3.17-rc4.patch 2014-09-13 05:17:33 +0000
33@@ -0,0 +1,33 @@
34+From 05dd11abffe27c2fd8f618e79036be026f71b20c Mon Sep 17 00:00:00 2001
35+From: Brian Norris <computersforpeace@gmail.com>
36+Date: Tue, 26 Aug 2014 01:21:19 -0800
37+
38+Subject: [PATCH] Add support for Linux 3.17-rc4
39+
40+Fixes Bug #1358966
41+
42+Signed-off-by: Brian Norris <computersforpeace@gmail.com>
43+---
44+ src/wl/sys/wl_linux.c | 19 +++++++++++++++++++
45+ 1 file changed, 19 insertions(+)
46+
47+diff --git a/src/wl/sys/wl_linux.c b/src/wl/sys/wl_linux.c
48+index 3a5e46b..6384e58 100644
49+--- a/src/wl/sys/wl_linux.c
50++++ b/src/wl/sys/wl_linux.c
51+@@ -1351,7 +1351,12 @@
52+ dev->priv = priv_link;
53+ #else
54+
55++#if (LINUX_VERSION_CODE < KERNEL_VERSION(3, 17, 0))
56+ dev = alloc_netdev(sizeof(priv_link_t), intf_name, ether_setup);
57++#else
58++ dev = alloc_netdev(sizeof(priv_link_t), intf_name, NET_NAME_UNKNOWN,
59++ ether_setup);
60++#endif
61+ if (!dev) {
62+ WL_ERROR(("wl%d: %s: alloc_netdev failed\n",
63+ (wl->pub)?wl->pub->unit:wlif->subunit, __FUNCTION__));
64+--
65+1.9.1
66+

Subscribers

People subscribed via source and target branches

to all changes: