Group :: Sistema/Kernel e hardware
RPM: kernel-modules-bcmwl-std-def
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: bcmwl-build-kernel3.17.patch
Download
Download
diff --git a/src/wl/sys/wl_linux.c b/src/wl/sys/wl_linux.c
index ac87754..a5f1919 100644
--- a/src/wl/sys/wl_linux.c
+++ b/src/wl/sys/wl_linux.c
@@ -1306,8 +1306,11 @@
}
dev->priv = priv_link;
#else
-
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(3, 17, 0))
dev = alloc_netdev(sizeof(priv_link_t), intf_name, ether_setup);
+#else
+ dev = alloc_netdev(sizeof(priv_link_t), intf_name, NET_NAME_UNKNOWN, ether_setup);
+#endif
if (!dev) {
WL_ERROR(("wl%d: %s: alloc_netdev failed\n",
(wl->pub)?wl->pub->unit:wlif->subunit, __FUNCTION__));