diff options
-rw-r--r-- | MdeModulePkg/Universal/Network/IScsiDxe/IScsiMisc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/Network/IScsiDxe/IScsiMisc.c b/MdeModulePkg/Universal/Network/IScsiDxe/IScsiMisc.c index 3a72709..dd110df 100644 --- a/MdeModulePkg/Universal/Network/IScsiDxe/IScsiMisc.c +++ b/MdeModulePkg/Universal/Network/IScsiDxe/IScsiMisc.c @@ -94,7 +94,7 @@ IScsiGetSubnetMaskPrefixLength ( //
ReverseMask = ~ReverseMask;
- if ((ReverseMask != 0) & ((ReverseMask + 1) != 0)) {
+ if ((ReverseMask & (ReverseMask + 1)) != 0) {
return 0;
}
|