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

Commit b6a82dd2 authored by Dragos Foianu's avatar Dragos Foianu Committed by David S. Miller
Browse files

net/irda: fixed style issues in irlan_eth



Applied fixes suggested by checkpatch.pl

Signed-off-by: default avatarDragos Foianu <dragos.foianu@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8a73125c
Loading
Loading
Loading
Loading
+14 −17
Original line number Diff line number Diff line
@@ -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);
	}