Skip to content

Commit

Permalink
staging: rtl8192e: Simplify r8192_set_multicast
Browse files Browse the repository at this point in the history
Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Mike McCormack authored and Greg Kroah-Hartman committed Feb 9, 2011
1 parent 57be958 commit 109ded2
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions drivers/staging/rtl8192e/r8192E_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}


Expand Down

0 comments on commit 109ded2

Please sign in to comment.