be2net: call be_vf_eth_addr_config() after register_netdev
authorAjit Khaparde <ajit.khaparde@emulex.com>
Fri, 11 Feb 2011 13:35:41 +0000 (13:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 12 Feb 2011 05:14:44 +0000 (21:14 -0800)
commite63193652bfbea40e33b3a4cf4d338f9c82fbc05
tree0034593dfb33d79a4183e7ac70af964bb5692650
parentc99ac3e7e47ffb9e504d9b08f608e9d7519a6b4f
be2net: call be_vf_eth_addr_config() after register_netdev

This is to avoid the completion processing for be_vf_eth_addr_config
to consume the link status notification before netdev_register.
Otherwise this causes the PF miss its first link status update.

Signed-off-by: Ajit Khaparde <ajit.khaparde@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_main.c