]> git.proxmox.com Git - mirror_edk2.git/commit
NetworkPkg/SnpDxe: Use PcdGetBool() instead of FixedPcdGetBool in Snp.c
authorSiyuan, Fu <siyuan.fu@intel.com>
Tue, 29 Oct 2019 01:41:10 +0000 (09:41 +0800)
committerSiyuan Fu <siyuan.fu@intel.com>
Tue, 29 Oct 2019 09:39:10 +0000 (17:39 +0800)
commit6f3ac73cd3792c7eeccb4533e545270d640bef4c
treeb0140c88b5f39059b8af6c753c4df259d3b58187
parentd4269c8e7c4d132f24bfc08bd723f81265154546
NetworkPkg/SnpDxe: Use PcdGetBool() instead of FixedPcdGetBool in Snp.c

This patch fixes a problem introduced by commit
  61bb6eeb4d93c0a34c1995d87914ab41398f9550.

The PcdSnpCreateExitBootServicesEvent is not guaranteed to be FixedAtBuild,
so use PcdGetBool() to supports both fixed and patchable PCD.

Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Signed-off-by: Siyuan Fu <siyuan.fu@intel.com>
Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
NetworkPkg/SnpDxe/Snp.c