Author: cgutman
Date: Mon Jun 7 03:38:15 2010
New Revision: 47651
URL:
http://svn.reactos.org/svn/reactos?rev=47651&view=rev
Log:
[AFD]
- It is legal to send a NULL event object pointer to AFD (this is sent by msafd to cancel
an existing event select)
Modified:
trunk/reactos/drivers/network/afd/afd/select.c
Modified: trunk/reactos/drivers/network/afd/afd/select.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/afd/afd/se…
==============================================================================
--- trunk/reactos/drivers/network/afd/afd/select.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/afd/afd/select.c [iso-8859-1] Mon Jun 7 03:38:15 2010
@@ -296,8 +296,11 @@
FCB->EventSelect = NULL;
else
FCB->EventSelectTriggers = EventSelectInfo->Events;
- } else
- Status = STATUS_INVALID_PARAMETER;
+ } else {
+ FCB->EventSelect = NULL;
+ FCB->EventSelectTriggers = 0;
+ Status = STATUS_SUCCESS;
+ }
AFD_DbgPrint(MID_TRACE,("Returning %x\n", Status));