netkvm: fix mistake in observer logic
Commit (Sept 2018)
introduced 'need reset' flow and the plan was to enable
hardware access when power-on flow starts. However the code
enables hardware access on any message except of two.
Fixing the mistake.
@@ -120,7 +120,7 @@ public:
{
m_VirtQueue.DoNotTouchHardware();
}
- else if (PoweredOn)
+ else if (message == PoweredOn)
{
m_VirtQueue.AllowTouchHardware();
}
