Skip to content

Commit

Permalink
fs_enet: restore promiscuous and multicast settings in restart()
Browse files Browse the repository at this point in the history
The restart() function is called when the link state changes and resets
multicast and promiscuous settings. This patch restores those settings at the
end of restart().

Signed-off-by: Laurent Pinchart <laurentp@cse-semaphore.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
  • Loading branch information
Laurent Pinchart authored and Jeff Garzik committed Jul 4, 2008
1 parent 6c688f4 commit c5a78ac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/net/fs_enet/mac-fcc.c
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,9 @@ static void restart(struct net_device *dev)
else
C32(fccp, fcc_fpsmr, FCC_PSMR_FDE | FCC_PSMR_LPB);

/* Restore multicast and promiscuous settings */
set_multicast_list(dev);

S32(fccp, fcc_gfmr, FCC_GFMR_ENR | FCC_GFMR_ENT);
}

Expand Down

0 comments on commit c5a78ac

Please sign in to comment.