staging: rtl8192e: Simplify r8192_set_multicast
authorMike McCormack <mikem@ring3k.org>
Sun, 6 Feb 2011 13:54:57 +0000 (22:54 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 9 Feb 2011 19:50:18 +0000 (11:50 -0800)
Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rtl8192e/r8192E_core.c

index 56d3aed46dfd4cf4d00dd3bb41f63e184d68604f..b0ae008dbfca281ccc2477cb8316b013c4600089 100644 (file)
@@ -4135,23 +4135,8 @@ static void rtl8192_restart(struct work_struct *work)
 static void r8192_set_multicast(struct net_device *dev)
 {
        struct r8192_priv *priv = ieee80211_priv(dev);
-       short promisc;
 
-       //down(&priv->wx_sem);
-
-       /* FIXME FIXME */
-
-       promisc = (dev->flags & IFF_PROMISC) ? 1:0;
-
-       if (promisc != priv->promisc) {
-               ;
-       //      rtl8192_commit(dev);
-       }
-
-       priv->promisc = promisc;
-
-       //schedule_work(&priv->reset_wq);
-       //up(&priv->wx_sem);
+       priv->promisc = (dev->flags & IFF_PROMISC) ? 1 : 0;
 }