qlcnic: fix for setting default eswitch config
authorRajesh Borundia <rajesh.borundia@qlogic.com>
Tue, 31 Aug 2010 17:17:47 +0000 (17:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Sep 2010 17:41:54 +0000 (10:41 -0700)
commit174240a8efc441f01f2909ee167c0c15099c0212
tree059bf1a61e9e2d0b0a7091c87cec48cab7a4d0f1
parentda48e6c362d24d324f36a780d8566109e5f5a1d7
qlcnic: fix for setting default eswitch config

o Default eswitch config was set, even before eswitch capabilty get detected.
As a result setting default config was getting fail.

Signed-off-by: Rajesh Borundia <rajesh.borundia@qlogic.com>
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlcnic/qlcnic_main.c