Commit d1007910 authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman

staging: vt6656: rename MACvWriteMultiAddr to vnt_mac_set_filter

The function sets the mac filter so rename to vnt_mac_set_filter
Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bc240f54
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
* Return Value: none * Return Value: none
* *
*/ */
void MACvWriteMultiAddr(struct vnt_private *priv, u64 mc_filter) void vnt_mac_set_filter(struct vnt_private *priv, u64 mc_filter)
{ {
__le64 le_mc = cpu_to_le64(mc_filter); __le64 le_mc = cpu_to_le64(mc_filter);
......
...@@ -414,7 +414,7 @@ struct vnt_mac_set_key { ...@@ -414,7 +414,7 @@ struct vnt_mac_set_key {
u8 key[WLAN_KEY_LEN_CCMP]; u8 key[WLAN_KEY_LEN_CCMP];
} __packed; } __packed;
void MACvWriteMultiAddr(struct vnt_private *, u64); void vnt_mac_set_filter(struct vnt_private *, u64);
void MACbShutdown(struct vnt_private *); void MACbShutdown(struct vnt_private *);
void MACvSetBBType(struct vnt_private *, u8); void MACvSetBBType(struct vnt_private *, u8);
void MACvDisableKeyEntry(struct vnt_private *, u8); void MACvDisableKeyEntry(struct vnt_private *, u8);
......
...@@ -1284,7 +1284,7 @@ void vnt_configure_filter(struct vnt_private *priv) ...@@ -1284,7 +1284,7 @@ void vnt_configure_filter(struct vnt_private *priv)
} else if ((netdev_mc_count(dev) > priv->multicast_limit) || } else if ((netdev_mc_count(dev) > priv->multicast_limit) ||
(dev->flags & IFF_ALLMULTI)) { (dev->flags & IFF_ALLMULTI)) {
mc_filter = ~0x0; mc_filter = ~0x0;
MACvWriteMultiAddr(priv, mc_filter); vnt_mac_set_filter(priv, mc_filter);
priv->byRxMode |= (RCR_MULTICAST|RCR_BROADCAST); priv->byRxMode |= (RCR_MULTICAST|RCR_BROADCAST);
} else { } else {
...@@ -1294,7 +1294,7 @@ void vnt_configure_filter(struct vnt_private *priv) ...@@ -1294,7 +1294,7 @@ void vnt_configure_filter(struct vnt_private *priv)
mc_filter |= 1ULL << (bit_nr & 0x3f); mc_filter |= 1ULL << (bit_nr & 0x3f);
} }
MACvWriteMultiAddr(priv, mc_filter); vnt_mac_set_filter(priv, mc_filter);
priv->byRxMode &= ~(RCR_UNICAST); priv->byRxMode &= ~(RCR_UNICAST);
priv->byRxMode |= (RCR_MULTICAST|RCR_BROADCAST); priv->byRxMode |= (RCR_MULTICAST|RCR_BROADCAST);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment