QcomModulePkg: Fix Slot Switch issue observed during OTA
When we run OTA update and active slot is switched from
_a to _b, active flag of vendor_boot_a is still active
due to an incorrect check perform inside MarkPtnActive.
MarkPtnActive() specfically uses strstr to search '_b' in
partition name however e.g '_b' could be a part of the
partition name itself e.g vendor'_b'oot_a even though
it is _a slot of the partition.
Fix this by introducing proper check in place.
Change-Id: I242a13a46f27a925d15864ab752bd9ce430179b9
1 file changed