[IPoIB NDIS 6.0 CM] Return correct status for an unsupported OIDs. (mlnx 5214)
authortzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 1 Dec 2009 16:43:52 +0000 (16:43 +0000)
committertzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 1 Dec 2009 16:43:52 +0000 (16:43 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2613 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

ulp/ipoib_NDIS6_CM/kernel/ipoib_driver.cpp

index d8ae1d3..4c542fe 100644 (file)
@@ -2783,6 +2783,7 @@ ipoib_query_info(
                case OID_IP4_OFFLOAD_STATS:\r
                        IPOIB_PRINT( TRACE_LEVEL_INFORMATION,IPOIB_DBG_OID,\r
                                ("Port %d received query for UNSUPPORTED OID_IP[4,6]_OFFLOAD_STATS\n", port_num) );\r
+                       status = NDIS_STATUS_NOT_SUPPORTED;\r
                        break;\r
                default:\r
                        status = NDIS_STATUS_INVALID_OID;\r