net/fec: prevent dobule restart of interface on FDX/HDX change
authorLothar Waßmann <LW@KARO-electronics.de>
Wed, 7 Dec 2011 21:59:27 +0000 (21:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Dec 2011 00:51:19 +0000 (19:51 -0500)
commit6ea0722fb8cdeacc774733c259d33bf45529e91b
treeba4900f9efcfe75aeed36e5053169126ad9bb986
parent5b1436c1f94e591e240845edee835658ce98985e
net/fec: prevent dobule restart of interface on FDX/HDX change

Upon detection of a FDX/HDX change the interface is restarted twice.

Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec.c