SNP driver will print the UNDI returned StatFlags:StatCode with DEBUG macro,
while in some please it uses the reverse order (StatCode:StatFlags). This patch
is to make the print info consistent, that StatFlags always come first.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
(EFI_D_NET,\r
"\nSnp->undi.get_status() %xh:%xh\n",\r
Snp->Cdb.StatFlags,\r
(EFI_D_NET,\r
"\nSnp->undi.get_status() %xh:%xh\n",\r
Snp->Cdb.StatFlags,\r
);\r
\r
return EFI_DEVICE_ERROR;\r
);\r
\r
return EFI_DEVICE_ERROR;\r
/** @file\r
Implementation of stopping a network interface.\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
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
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
);\r
\r
return EFI_DEVICE_ERROR;\r