nixpkgs/pkgs/os-specific/linux/broadcom-sta/linux-3.2.patch
Vladimír Čunát e6c4bcf8fb Patched broadcom_sta with for kernels 2.6.39 and 3.2
Patches taken from Gentoo, builds OK now.

svn path=/nixpkgs/trunk/; revision=32076
2012-02-06 19:06:47 +00:00

13 lines
541 B
Diff

diff -Naur broadcom-sta-5.100.82.112.orig/src/wl/sys/wl_linux.c broadcom-sta-5.100.82.112/src/wl/sys/wl_linux.c
--- broadcom-sta-5.100.82.112.orig/src/wl/sys/wl_linux.c 2011-10-23 01:56:55.000000000 +0900
+++ broadcom-sta-5.100.82.112/src/wl/sys/wl_linux.c 2011-11-22 00:56:07.021520421 +0900
@@ -385,7 +385,9 @@
#endif
.ndo_get_stats = wl_get_stats,
.ndo_set_mac_address = wl_set_mac_address,
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 2, 0)
.ndo_set_multicast_list = wl_set_multicast_list,
+#endif
.ndo_do_ioctl = wl_ioctl
};