[rndis] Clear receive filter when closing the device
authorMichael Brown <mcb30@ipxe.org>
Sat, 20 Dec 2014 12:06:35 +0000 (12:06 +0000)
committerMichael Brown <mcb30@ipxe.org>
Sat, 20 Dec 2014 12:06:35 +0000 (12:06 +0000)
commit67291465ead5d227d1caf28b8a863fca1ad9e952
tree505afece90cb9ed881d9ae8aa275944a346e128b
parentcd68d93b6edacb4903b81f3d94af6c3d9aaff6fe
[rndis] Clear receive filter when closing the device

On Windows Server 2012 R2, closing and reopening the device will
sometimes result in a non-functional RX datapath.  The root cause is
unknown.  Clearing the receive filter before closing the device seems
to fix the problem.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/net/rndis.c