]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/SnpDxe/Receive.c
Coding style fix and minor improvements.
[mirror_edk2.git] / MdeModulePkg / Universal / Network / SnpDxe / Receive.c
index 92123b6c1fe76835bc5869a88fd88e008d4c82be..a37156aa0b1fa5c1ac6846ef4c8f89d27896f903 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
-               Implementation of receiving a packet from a network interface.\r
+  Implementation of receiving a packet from a network interface.\r
 \r
-Copyright (c) 2004 - 2007, Intel Corporation. <BR>\r
+Copyright (c) 2004 - 2010, Intel Corporation. <BR>\r
 All rights reserved. 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
@@ -225,7 +225,7 @@ SnpUndi32Receive (
     goto ON_EXIT;\r
   }\r
 \r
-  if (!Snp->Mode.ReceiveFilterSetting) {\r
+  if (Snp->Mode.ReceiveFilterSetting == 0) {\r
     Status = EFI_DEVICE_ERROR;\r
     goto ON_EXIT;\r
   }\r