Browse Source

[rndis] Ignore start-of-day RNDIS_INDICATE_STATUS_MSG with status 0x40020006

Windows Server 2012 R2 generates an RNDIS_INDICATE_STATUS_MSG with a
status code of 0x4002006.  This status code does not appear to be
documented anywhere within the sphere of human knowledge.

Explicitly ignore this status code in order to avoid unnecessarily
cluttering the display when RNDIS debugging is enabled.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 9 years ago
parent
commit
f6a3bc0aa1
2 changed files with 6 additions and 0 deletions
  1. 2
    0
      src/include/ipxe/rndis.h
  2. 4
    0
      src/net/rndis.c

+ 2
- 0
src/include/ipxe/rndis.h View File

191
 	RNDIS_STATUS_MEDIA_CONNECT = 0x4001000bUL,
191
 	RNDIS_STATUS_MEDIA_CONNECT = 0x4001000bUL,
192
 	/** Device is disconnected from the medium */
192
 	/** Device is disconnected from the medium */
193
 	RNDIS_STATUS_MEDIA_DISCONNECT = 0x4001000cUL,
193
 	RNDIS_STATUS_MEDIA_DISCONNECT = 0x4001000cUL,
194
+	/** Unknown start-of-day status code */
195
+	RNDIS_STATUS_WTF_WORLD = 0x40020006UL,
194
 };
196
 };
195
 
197
 
196
 /** RNDIS keepalive message */
198
 /** RNDIS keepalive message */

+ 4
- 0
src/net/rndis.c View File

686
 		netdev_link_down ( netdev );
686
 		netdev_link_down ( netdev );
687
 		break;
687
 		break;
688
 
688
 
689
+	case RNDIS_STATUS_WTF_WORLD:
690
+		/* Ignore */
691
+		break;
692
+
689
 	default:
693
 	default:
690
 		DBGC ( rndis, "RNDIS %s unexpected status %#08x:\n",
694
 		DBGC ( rndis, "RNDIS %s unexpected status %#08x:\n",
691
 		       rndis->name, status );
695
 		       rndis->name, status );

Loading…
Cancel
Save