X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FUniversal%2FNetwork%2FSnpDxe%2FReceive_filters.c;h=c37018c8263fb55094e445e1a5765e41f8171c63;hp=bb98f4c8a79b32a1bb4535bb13095e2b7bd83f96;hb=3af347b3b8a02d6592681ce181da2c758deaa016;hpb=e5eed7d3641d71d7ea539e5379ea9c6a5cd97004
diff --git a/MdeModulePkg/Universal/Network/SnpDxe/Receive_filters.c b/MdeModulePkg/Universal/Network/SnpDxe/Receive_filters.c
index bb98f4c8a7..c37018c826 100644
--- a/MdeModulePkg/Universal/Network/SnpDxe/Receive_filters.c
+++ b/MdeModulePkg/Universal/Network/SnpDxe/Receive_filters.c
@@ -2,7 +2,7 @@
Implementation of managing the multicast receive filters of a network
interface.
-Copyright (c) 2004 - 2007, Intel Corporation. All rights reserved.
+Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the
terms and conditions of the BSD License which accompanies this distribution. The
full text of the license may be found at
@@ -83,7 +83,7 @@ PxeRecvFilterEnable (
(*Snp->IssueUndi32Command) ((UINT64)(UINTN) &Snp->Cdb);
- if (Snp->Cdb.StatCode != EFI_SUCCESS) {
+ if (Snp->Cdb.StatCode != PXE_STATCODE_SUCCESS) {
//
// UNDI command failed. Return UNDI status to caller.
//
@@ -171,7 +171,7 @@ PxeRecvFilterDisable (
(*Snp->IssueUndi32Command) ((UINT64)(UINTN) &Snp->Cdb);
- if (Snp->Cdb.StatCode != EFI_SUCCESS) {
+ if (Snp->Cdb.StatCode != PXE_STATCODE_SUCCESS) {
//
// UNDI command failed. Return UNDI status to caller.
//
@@ -223,7 +223,7 @@ PxeRecvFilterRead (
(*Snp->IssueUndi32Command) ((UINT64)(UINTN) &Snp->Cdb);
- if (Snp->Cdb.StatCode != EFI_SUCCESS) {
+ if (Snp->Cdb.StatCode != PXE_STATCODE_SUCCESS) {
//
// UNDI command failed. Return UNDI status to caller.
//