diff options
Diffstat (limited to 'drivers/net/fs_enet/mac-fec.c')
-rw-r--r-- | drivers/net/fs_enet/mac-fec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/fs_enet/mac-fec.c b/drivers/net/fs_enet/mac-fec.c index ca7bcb8ab3a1..ddf13ef8ac87 100644 --- a/drivers/net/fs_enet/mac-fec.c +++ b/drivers/net/fs_enet/mac-fec.c | |||
@@ -220,7 +220,7 @@ static void set_multicast_finish(struct net_device *dev) | |||
220 | 220 | ||
221 | /* if all multi or too many multicasts; just enable all */ | 221 | /* if all multi or too many multicasts; just enable all */ |
222 | if ((dev->flags & IFF_ALLMULTI) != 0 || | 222 | if ((dev->flags & IFF_ALLMULTI) != 0 || |
223 | dev->mc_count > FEC_MAX_MULTICAST_ADDRS) { | 223 | netdev_mc_count(dev) > FEC_MAX_MULTICAST_ADDRS) { |
224 | fep->fec.hthi = 0xffffffffU; | 224 | fep->fec.hthi = 0xffffffffU; |
225 | fep->fec.htlo = 0xffffffffU; | 225 | fep->fec.htlo = 0xffffffffU; |
226 | } | 226 | } |