From 77a0a4d954f291e7021fc49f4b478df1f8a5d1b2 Mon Sep 17 00:00:00 2001 From: xli24 Date: Thu, 30 Aug 2007 06:14:10 +0000 Subject: Fix a bug that parentheses do not place correctly in UNDI driver. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3739 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Bus/Pci/UndiRuntimeDxe/E100b.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Bus/Pci/UndiRuntimeDxe/E100b.c b/MdeModulePkg/Bus/Pci/UndiRuntimeDxe/E100b.c index d425778e06..4ca431c520 100644 --- a/MdeModulePkg/Bus/Pci/UndiRuntimeDxe/E100b.c +++ b/MdeModulePkg/Bus/Pci/UndiRuntimeDxe/E100b.c @@ -595,7 +595,7 @@ Returns: } my_filter = (UINT8) ((AdapterInfo->Rx_Filter & PXE_OPFLAGS_RECEIVE_FILTER_PROMISCUOUS) ? 1 : 0); - my_filter = (UINT8) ((my_filter | (AdapterInfo->Rx_Filter & PXE_OPFLAGS_RECEIVE_FILTER_BROADCAST) ? 0 : 2)); + my_filter = (UINT8) (my_filter | ((AdapterInfo->Rx_Filter & PXE_OPFLAGS_RECEIVE_FILTER_BROADCAST) ? 0 : 2)); data_ptr[15] = (UINT8) (data_ptr[15] | my_filter); data_ptr[19] = (UINT8) (AdapterInfo->Duplex ? 0xC0 : 0x80); -- cgit v1.2.3