Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 134bbe7f authored by Thomas Falcon's avatar Thomas Falcon Committed by David S. Miller
Browse files

ibmvnic: Fix non-fatal firmware error reset



It is not necessary to disable interrupt lines here during a reset
to handle a non-fatal firmware error. Move that call within the code
block that handles the other cases that do require interrupts to be
disabled and re-enabled.

Signed-off-by: default avatarThomas Falcon <tlfalcon@linux.vnet.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4cf2ddf3
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1822,9 +1822,8 @@ static int do_reset(struct ibmvnic_adapter *adapter,
			if (rc)
				return rc;
		}
	}

		ibmvnic_disable_irqs(adapter);
	}
	adapter->state = VNIC_CLOSED;

	if (reset_state == VNIC_CLOSED)