qlcnic: fix for setting function modes
authorRajesh Borundia <rajesh.borundia@qlogic.com>
Tue, 17 Aug 2010 00:34:21 +0000 (00:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Aug 2010 10:59:46 +0000 (03:59 -0700)
commitecd7d31038e2e0e95b4596eec021e02ba67a0a37
tree6a4060dc6492fd655bce9e1b30126cb7b1fb7271
parent3c4b23b1be212d1b8494655182c0d4cef0a37be3
qlcnic: fix for setting function modes

function modes was not working with CNA device, in CNA mode
other function(FCOE) can be enabled before nic.

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