diff options
author | Michael Wu <flamingice@sourmilk.net> | 2007-10-12 16:45:12 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2007-10-18 15:42:52 -0400 |
commit | 4771afb56930d6b03a04fa231f06ae29c3a496de (patch) | |
tree | ced284cb9f43fd02876eb1e2aefb0bbb521473b5 /drivers | |
parent | 90ba931fa1d3410c87d93ef774624d12533f37c3 (diff) |
[PATCH] rtl8187: remove NICMAC setting in configure_filters callback
NICMAC should always be set.
Signed-off-by: Michael Wu <flamingice@sourmilk.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/rtl8187_dev.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/wireless/rtl8187_dev.c b/drivers/net/wireless/rtl8187_dev.c index 805b2af50afc..de61c8fe6492 100644 --- a/drivers/net/wireless/rtl8187_dev.c +++ b/drivers/net/wireless/rtl8187_dev.c | |||
@@ -588,8 +588,6 @@ static void rtl8187_configure_filter(struct ieee80211_hw *dev, | |||
588 | 588 | ||
589 | *total_flags = 0; | 589 | *total_flags = 0; |
590 | 590 | ||
591 | if (changed_flags & FIF_PROMISC_IN_BSS) | ||
592 | priv->rx_conf ^= RTL818X_RX_CONF_NICMAC; | ||
593 | if (changed_flags & FIF_ALLMULTI) | 591 | if (changed_flags & FIF_ALLMULTI) |
594 | priv->rx_conf ^= RTL818X_RX_CONF_MULTICAST; | 592 | priv->rx_conf ^= RTL818X_RX_CONF_MULTICAST; |
595 | if (changed_flags & FIF_FCSFAIL) | 593 | if (changed_flags & FIF_FCSFAIL) |
@@ -602,8 +600,6 @@ static void rtl8187_configure_filter(struct ieee80211_hw *dev, | |||
602 | if (mc_count > 0) | 600 | if (mc_count > 0) |
603 | priv->rx_conf |= RTL818X_RX_CONF_MULTICAST; | 601 | priv->rx_conf |= RTL818X_RX_CONF_MULTICAST; |
604 | 602 | ||
605 | if (priv->rx_conf & RTL818X_RX_CONF_NICMAC) | ||
606 | *total_flags |= FIF_PROMISC_IN_BSS; | ||
607 | if (priv->rx_conf & RTL818X_RX_CONF_MULTICAST) | 603 | if (priv->rx_conf & RTL818X_RX_CONF_MULTICAST) |
608 | *total_flags |= FIF_ALLMULTI; | 604 | *total_flags |= FIF_ALLMULTI; |
609 | if (priv->rx_conf & RTL818X_RX_CONF_FCS) | 605 | if (priv->rx_conf & RTL818X_RX_CONF_FCS) |