Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 530142
Collapse All | Expand All

(-)a/src/wl/sys/wl_linux.c.old (-2 / +5 lines)
Lines 1307-1314 Link Here
1307
	}
1307
	}
1308
	dev->priv = priv_link;
1308
	dev->priv = priv_link;
1309
#else
1309
#else
1310
1310
	#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 17, 0))
1311
	dev = alloc_netdev(sizeof(priv_link_t), intf_name, ether_setup);
1311
		dev = alloc_netdev(sizeof(priv_link_t), intf_name, NET_NAME_UNKNOWN ether_setup);
1312
	#else
1313
		dev = alloc_netdev(sizeof(priv_link_t), intf_name, ether_setup);
1314
	#endif
1312
	if (!dev) {
1315
	if (!dev) {
1313
		WL_ERROR(("wl%d: %s: alloc_netdev failed\n",
1316
		WL_ERROR(("wl%d: %s: alloc_netdev failed\n",
1314
			(wl->pub)?wl->pub->unit:wlif->subunit, __FUNCTION__));
1317
			(wl->pub)?wl->pub->unit:wlif->subunit, __FUNCTION__));

Return to bug 530142