net/irda: fixed style issues in irlan_eth
Applied fixes suggested by checkpatch.pl Signed-off-by: Dragos Foianu <dragos.foianu@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
8a73125c36
commit
b6a82dd233
@@ -321,23 +321,20 @@ static void irlan_eth_set_multicast_list(struct net_device *dev)
|
||||
if (dev->flags & IFF_PROMISC) {
|
||||
/* Enable promiscuous mode */
|
||||
IRDA_WARNING("Promiscuous mode not implemented by IrLAN!\n");
|
||||
}
|
||||
else if ((dev->flags & IFF_ALLMULTI) ||
|
||||
} else if ((dev->flags & IFF_ALLMULTI) ||
|
||||
netdev_mc_count(dev) > HW_MAX_ADDRS) {
|
||||
/* Disable promiscuous mode, use normal mode. */
|
||||
IRDA_DEBUG(4, "%s(), Setting multicast filter\n", __func__);
|
||||
/* hardware_set_filter(NULL); */
|
||||
|
||||
irlan_set_multicast_filter(self, TRUE);
|
||||
}
|
||||
else if (!netdev_mc_empty(dev)) {
|
||||
} else if (!netdev_mc_empty(dev)) {
|
||||
IRDA_DEBUG(4, "%s(), Setting multicast filter\n", __func__);
|
||||
/* Walk the address list, and load the filter */
|
||||
/* hardware_set_filter(dev->mc_list); */
|
||||
|
||||
irlan_set_multicast_filter(self, TRUE);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
IRDA_DEBUG(4, "%s(), Clearing multicast filter\n", __func__);
|
||||
irlan_set_multicast_filter(self, FALSE);
|
||||
}
|
||||
|
Reference in New Issue
Block a user