Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4771afb5 authored by Michael Wu's avatar Michael Wu Committed by John W. Linville
Browse files

[PATCH] rtl8187: remove NICMAC setting in configure_filters callback



NICMAC should always be set.

Signed-off-by: default avatarMichael Wu <flamingice@sourmilk.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 90ba931f
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -588,8 +588,6 @@ static void rtl8187_configure_filter(struct ieee80211_hw *dev,

	*total_flags = 0;

	if (changed_flags & FIF_PROMISC_IN_BSS)
		priv->rx_conf ^= RTL818X_RX_CONF_NICMAC;
	if (changed_flags & FIF_ALLMULTI)
		priv->rx_conf ^= RTL818X_RX_CONF_MULTICAST;
	if (changed_flags & FIF_FCSFAIL)
@@ -602,8 +600,6 @@ static void rtl8187_configure_filter(struct ieee80211_hw *dev,
	if (mc_count > 0)
		priv->rx_conf |= RTL818X_RX_CONF_MULTICAST;

	if (priv->rx_conf & RTL818X_RX_CONF_NICMAC)
		*total_flags |= FIF_PROMISC_IN_BSS;
	if (priv->rx_conf & RTL818X_RX_CONF_MULTICAST)
		*total_flags |= FIF_ALLMULTI;
	if (priv->rx_conf & RTL818X_RX_CONF_FCS)