Skip to content

Commit a8a6e3a

Browse files
committed
not sure - additional poll request
Signed-off-by: Yuri Benditovich <[email protected]>
1 parent 3ac6a88 commit a8a6e3a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

NetKVM/wlh/ParaNdis_Poll.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,10 @@ void NdisPollHandler::HandlePoll(NDIS_POLL_DATA *PollData)
149149
// the handler will be invoked anyway
150150
if (PollData->Receive.NumberOfRemainingNbls || PollData->Transmit.NumberOfRemainingNbls)
151151
{
152+
// ensure the poll will be scheduled
153+
KIRQL prev = KeRaiseIrqlToSynchLevel();
152154
ParaNdisPollNotify(m_AdapterContext, m_Index, "Self");
155+
KeLowerIrql(prev);
153156
}
154157
}
155158

0 commit comments

Comments
 (0)