aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--at76_usb.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/at76_usb.c b/at76_usb.c
index c8ce70b..0368f5a 100644
--- a/at76_usb.c
+++ b/at76_usb.c
@@ -1018,7 +1018,7 @@ static int at76_add_mac_address(struct at76_priv *priv, void *addr)
#if 0
/* Implemented to get promisc. mode working, but does not help.
May still be useful for multicast eventually. */
-static int set_group_address(struct at76_priv *priv, u8 *addr, int n)
+static int at76_set_group_address(struct at76_priv *priv, u8 *addr, int n)
{
int ret = 0;
@@ -1033,7 +1033,7 @@ static int set_group_address(struct at76_priv *priv, u8 *addr, int n)
err("%s: set_mib (MIB_MAC_ADD, group_addr) failed: %d",
priv->netdev->name, ret);
}
-#if 1
+
/* I do not know anything about the group_addr_status field... (oku) */
memset(&priv->mib_buf, 0, sizeof(struct set_mib_buffer));
priv->mib_buf.type = MIB_MAC_ADD;
@@ -1046,7 +1046,6 @@ static int set_group_address(struct at76_priv *priv, u8 *addr, int n)
err("%s: set_mib (MIB_MAC_ADD, group_addr_status) failed: %d",
priv->netdev->name, ret);
}
-#endif
return ret;
}
#endif