diff -urp a/src/shared/linux_osl.c b/src/shared/linux_osl.c
--- a/src/shared/linux_osl.c	2010-02-06 07:29:15.000000000 +0530
+++ b/src/shared/linux_osl.c	2011-03-20 14:45:23.000000000 +0530
@@ -24,6 +24,7 @@
 #include <pcicfg.h>
 
 #include <linux/fs.h>
+#include <linux/sched.h>
 
 #define PCI_CFG_RETRY 		10
 
diff -urp a/src/wl/sys/wl_iw.h b/src/wl/sys/wl_iw.h
--- a/src/wl/sys/wl_iw.h	2010-02-06 07:29:15.000000000 +0530
+++ b/src/wl/sys/wl_iw.h	2011-03-20 14:45:23.000000000 +0530
@@ -20,6 +20,7 @@
 #include <typedefs.h>
 #include <proto/ethernet.h>
 #include <wlioctl.h>
+#include <linux/semaphore.h>
 
 #define	WL_IW_RSSI_MINVAL		-200	
 #define	WL_IW_RSSI_NO_SIGNAL	-91	
diff -urp a/src/wl/sys/wl_linux.c b/src/wl/sys/wl_linux.c
--- a/src/wl/sys/wl_linux.c	2010-02-06 07:29:15.000000000 +0530
+++ b/src/wl/sys/wl_linux.c	2011-03-20 14:48:39.000000000 +0530
@@ -59,6 +59,8 @@
 #include <wlioctl.h>
 #include <wlc_key.h>
 
+#include <net/lib80211.h>
+
 typedef const struct si_pub	si_t;
 
 typedef void wlc_info_t;
@@ -1416,7 +1418,9 @@ static void
 _wl_set_multicast_list(struct net_device *dev)
 {
 	wl_info_t *wl;
-	struct dev_mc_list *mclist;
+	/* struct dev_mc_list *mclist; */
+	struct netdev_hw_addr *ha;
+	int mc_count = netdev_mc_count(dev);
 	int i;
 
 	if (!dev)
@@ -1429,8 +1433,20 @@ _wl_set_multicast_list(struct net_device
 
 	if (wl->pub->up) {
 		wl->pub->allmulti = (dev->flags & IFF_ALLMULTI)? TRUE: FALSE;
+		i = 0;
+		netdev_for_each_mc_addr(ha, dev) {
+			if (i >= mc_count)
+				break;
+			if (i >= MAXMULTILIST) {
+				wl->pub->allmulti = TRUE;
+				i = 0;
+				break;
+			}
+			wl->pub->multicast[i] = *((struct ether_addr*) ha->addr);
+			i++;
+		}
 
-		for (i = 0, mclist = dev->mc_list; mclist && (i < dev->mc_count);
+	/*	for (i = 0, mclist = dev->mc_list; mclist && (i < mc_count);
 			i++, mclist = mclist->next) {
 			if (i >= MAXMULTILIST) {
 				wl->pub->allmulti = TRUE;
@@ -1438,7 +1454,7 @@ _wl_set_multicast_list(struct net_device
 				break;
 			}
 			wl->pub->multicast[i] = *((struct ether_addr*) mclist->dmi_addr);
-		}
+		} */
 		wl->pub->nmulticast = i;
 		wlc_set(wl->wlc, WLC_SET_PROMISC, (dev->flags & IFF_PROMISC));
 	}
