The format of the response to the OID_GEN_VENDOR_DRIVER_VERSION request was
incorrect, and also the OID_GEN_DRIVER_VERSION response has been lying since
the change to NDIS 6.1.
Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
BytesNeeded = sizeof(ULONG);
ndisStatus = __SetUlong(Buffer,
BufferLength,
- ((MAJOR_VERSION << 8) | MINOR_VERSION) << 8,
+ (MAJOR_VERSION << 16) |
+ MINOR_VERSION,
&BytesWritten);
break;
BytesNeeded = sizeof(ULONG);
ndisStatus = __SetUlong(Buffer,
BufferLength,
- (6 << 8) | 0, // NDIS 6.0
+ (NDIS_MINIPORT_MAJOR_VERSION << 8) |
+ NDIS_MINIPORT_MINOR_VERSION,
&BytesWritten);
break;