Sophie

Sophie

distrib > Mageia > 2 > i586 > by-pkgid > 42fd6b5fefcc7eb4f3a0a18ef6eac7cb > files > 2

broadcom-wl-5.100.82.112-4.mga2.nonfree.src.rpm

--- src/wl/sys/wl_linux.c.orig	2011-10-22 19:55:54.000000000 +0300
+++ src/wl/sys/wl_linux.c	2011-12-26 21:31:51.441600823 +0200
@@ -385,7 +385,11 @@ static const struct net_device_ops wl_ne
 #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_rx_mode = wl_set_multicast_list,
+#else
 	.ndo_set_multicast_list = wl_set_multicast_list,
+#endif
 	.ndo_do_ioctl = wl_ioctl
 };