|
@@ -2733,7 +2733,7 @@ static int qlcnic_attach_func(struct pci_dev *pdev)
|
|
|
if (qlcnic_api_lock(adapter))
|
|
|
return -EINVAL;
|
|
|
|
|
|
- if (first_func) {
|
|
|
+ if (adapter->op_mode != QLCNIC_NON_PRIV_FUNC && first_func) {
|
|
|
adapter->need_fw_reset = 1;
|
|
|
set_bit(__QLCNIC_START_FW, &adapter->state);
|
|
|
QLCWR32(adapter, QLCNIC_CRB_DEV_STATE, QLCNIC_DEV_INITIALIZING);
|