mirror of https://github.com/acidanthera/audk.git
fix ecc
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7451 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
9006e2bbe7
commit
4de1f28761
|
@ -1028,7 +1028,7 @@ MatchUsbWwid (
|
|||
//
|
||||
// BugBug: only check serial number here, should check Interface Number, Device Vendor Id, Device Product Id in later version
|
||||
//
|
||||
if (StrDesc != NULL && !StrnCmp (StrDesc->String, SnString, StrDesc->Length)) {
|
||||
if (StrDesc != NULL && (StrnCmp (StrDesc->String, SnString, StrDesc->Length) == 0)) {
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue