]> git.pld-linux.org Git - packages/wl.git/blame - linux-3.17.patch
- x32 rebuild
[packages/wl.git] / linux-3.17.patch
CommitLineData
10c48a9f
JR
1--- wl-6.30.223.248/src/wl/sys/wl_linux.c~ 2014-06-26 12:42:08.000000000 +0200
2+++ wl-6.30.223.248/src/wl/sys/wl_linux.c 2014-11-09 16:29:09.494680214 +0100
3@@ -1307,7 +1307,11 @@
4 dev->priv = priv_link;
5 #else
6
7+#if (LINUX_VERSION_CODE < KERNEL_VERSION(3, 17, 0))
8 dev = alloc_netdev(sizeof(priv_link_t), intf_name, ether_setup);
9+#else
10+ dev = alloc_netdev(sizeof(priv_link_t), intf_name, NET_NAME_UNKNOWN, ether_setup);
11+#endif
12 if (!dev) {
13 WL_ERROR(("wl%d: %s: alloc_netdev failed\n",
14 (wl->pub)?wl->pub->unit:wlif->subunit, __FUNCTION__));
This page took 0.055161 seconds and 4 git commands to generate.