Skip to content

Commit

Permalink
[PATCH] sky2: don't lose multicast addresses
Browse files Browse the repository at this point in the history
Don't lose multicast addresses when link goes down or ring
parameters change.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
  • Loading branch information
Stephen Hemminger authored and Jeff Garzik committed Dec 24, 2005
1 parent 1b53756 commit 6ed995b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/sky2.c
Original file line number Diff line number Diff line change
Expand Up @@ -1478,8 +1478,6 @@ static void sky2_link_down(struct sky2_port *sky2)
| PHY_M_AN_ASP);
}

sky2_phy_reset(hw, port);

netif_carrier_off(sky2->netdev);
netif_stop_queue(sky2->netdev);

Expand Down Expand Up @@ -2833,6 +2831,8 @@ static int sky2_set_ringparam(struct net_device *dev,
err = sky2_up(dev);
if (err)
dev_close(dev);
else
sky2_set_multicast(dev);
}

return err;
Expand Down

0 comments on commit 6ed995b

Please sign in to comment.