diff options
author | Stefan Wahren <stefan.wahren@i2se.com> | 2014-03-12 11:28:19 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-13 15:46:20 -0400 |
commit | 84fe61821e4ebab6322eeae3f3c27f77f0031978 (patch) | |
tree | 394349b487a8e228c89adcef0b4877cfaeeb8650 /net | |
parent | fb00bc2e6cd2046282ba4b03f4fe682aee70b2f8 (diff) | |
download | linux-84fe61821e4ebab6322eeae3f3c27f77f0031978.tar.bz2 |
eth: fec: Fix lost promiscuous mode after reconnecting cable
If the Freescale fec is in promiscuous mode and network cable is
reconnected then the promiscuous mode get lost. The problem is caused
by a too soon call of set_multicast_list to re-enable promisc mode.
The FEC_R_CNTRL register changes are overwritten by fec_restart.
This patch fixes this by moving the call behind the init of FEC_R_CNTRL
register in fec_restart.
Successful tested on a i.MX28 board.
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions