gianfar: keep vlan related state when restart
authorYong Zhang <yong.zhang0@gmail.com>
Fri, 7 Aug 2009 16:36:52 +0000 (16:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Aug 2009 04:45:40 +0000 (21:45 -0700)
commit75c4885924f01aed1f887886a49dfa89960de240
treedc7e1c6ea8f5400041c2670c518a9372cc6e8e21
parent148675a7b2061b5a5eb194530b7c4d8de1f2887e
gianfar: keep vlan related state when restart

If vlan has been enabled. ifdown followed by ifup will lost hardware
related state.

Also remove duplicated operation in gfar_vlan_rx_register().

Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>
Acked-by: Dai Haruki <dai.haruki@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/gianfar.c