\r
(*Snp->IssueUndi32Command) ((UINT64)(UINTN) &Snp->Cdb);\r
\r
- if (Snp->Cdb.StatCode != EFI_SUCCESS) {\r
+ if (Snp->Cdb.StatCode != PXE_STATCODE_SUCCESS) {\r
DEBUG (\r
(EFI_D_NET,\r
"\nSnp->undi.get_status() %xh:%xh\n",\r
Snp->Cdb.StatFlags,\r
- Snp->Cdb.StatFlags)\r
+ Snp->Cdb.StatCode)\r
);\r
\r
return EFI_DEVICE_ERROR;\r
Implementation of managing the multicast receive filters of a network\r
interface.\r
\r
-Copyright (c) 2004 - 2007, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials are licensed and made available under the \r
terms and conditions of the BSD License which accompanies this distribution. The \r
full text of the license may be found at \r
\r
(*Snp->IssueUndi32Command) ((UINT64)(UINTN) &Snp->Cdb);\r
\r
- if (Snp->Cdb.StatCode != EFI_SUCCESS) {\r
+ if (Snp->Cdb.StatCode != PXE_STATCODE_SUCCESS) {\r
//\r
// UNDI command failed. Return UNDI status to caller.\r
//\r
\r
(*Snp->IssueUndi32Command) ((UINT64)(UINTN) &Snp->Cdb);\r
\r
- if (Snp->Cdb.StatCode != EFI_SUCCESS) {\r
+ if (Snp->Cdb.StatCode != PXE_STATCODE_SUCCESS) {\r
//\r
// UNDI command failed. Return UNDI status to caller.\r
//\r
\r
(*Snp->IssueUndi32Command) ((UINT64)(UINTN) &Snp->Cdb);\r
\r
- if (Snp->Cdb.StatCode != EFI_SUCCESS) {\r
+ if (Snp->Cdb.StatCode != PXE_STATCODE_SUCCESS) {\r
//\r
// UNDI command failed. Return UNDI status to caller.\r
//\r
/** @file\r
Implementation of stopping a network interface.\r
\r
-Copyright (c) 2004 - 2007, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials are licensed \r
and made available under the terms and conditions of the BSD License which \r
accompanies this distribution. The full text of the license may be found at \r
DEBUG (\r
(EFI_D_WARN,\r
"\nsnp->undi.stop() %xh:%xh\n",\r
- Snp->Cdb.StatCode,\r
- Snp->Cdb.StatFlags)\r
+ Snp->Cdb.StatFlags,\r
+ Snp->Cdb.StatCode)\r
);\r
\r
return EFI_DEVICE_ERROR;\r