be2net: Bug fix to send config commands to hardware after netdev_register
authorAjit Khaparde <ajitk@serverengines.com>
Fri, 6 Nov 2009 02:07:32 +0000 (02:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Nov 2009 04:26:06 +0000 (20:26 -0800)
commit4f2aa89cd263932d61f286307771996df76bf63e
treeef9f833641ce9e771dc1026e7139eb35b4c92568
parent9e90c961134929678022aee0c68b16c1ed520614
be2net: Bug fix to send config commands to hardware after netdev_register

Sending config commands to be2 hardware before netdev_register is
completed, is sometimes causing the async link notification to arrive
even before the driver is ready to handle it. The commands for vlan
config and flow control settings can infact wait till be_open.
This patch takes care of that.

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