aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ll_temac_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ll_temac_main.c')
-rw-r--r--drivers/net/ll_temac_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ll_temac_main.c b/drivers/net/ll_temac_main.c
index f2a197fd47a5..336e7c7a9275 100644
--- a/drivers/net/ll_temac_main.c
+++ b/drivers/net/ll_temac_main.c
@@ -231,8 +231,8 @@ static void temac_set_multicast_list(struct net_device *ndev)
231 int i; 231 int i;
232 232
233 mutex_lock(&lp->indirect_mutex); 233 mutex_lock(&lp->indirect_mutex);
234 if (ndev->flags & (IFF_ALLMULTI | IFF_PROMISC) 234 if (ndev->flags & (IFF_ALLMULTI | IFF_PROMISC) ||
235 || ndev->mc_count > MULTICAST_CAM_TABLE_NUM) { 235 ndev->mc_count > MULTICAST_CAM_TABLE_NUM) {
236 /* 236 /*
237 * We must make the kernel realise we had to move 237 * We must make the kernel realise we had to move
238 * into promisc mode or we start all out war on 238 * into promisc mode or we start all out war on