]> git.proxmox.com Git - mirror_edk2.git/commit
NetworkPkg: Fix HII related problem in HTTP boot driver.
authorFu Siyuan <siyuan.fu@intel.com>
Thu, 17 Mar 2016 01:27:07 +0000 (09:27 +0800)
committerFu Siyuan <siyuan.fu@intel.com>
Thu, 24 Mar 2016 02:09:47 +0000 (10:09 +0800)
commita5acc84226183fc5a5d55eb923f6c47a8d42d861
treefb36b608d7fd9554bf499cfa7d34aa45da504626
parent9e41f686fc20304086db387563089e42cf3189d5
NetworkPkg: Fix HII related problem in HTTP boot driver.

According to UEFI spec, HII_Config_Access.RouteConfig() should return success
if the required configuration has been processed. Current HTTP boot driver
may return error code in some situation, which failed the UEFI SCT test.
This patch fix this issue by removing the returned error status code and adding
extra check point in the Callback() function, which will pop up a message box
if user input an unsupported URI string.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Dong Eric <eric.dong@intel.com>
Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>
NetworkPkg/HttpBootDxe/HttpBootConfig.c
NetworkPkg/HttpBootDxe/HttpBootConfigNVDataStruc.h
NetworkPkg/HttpBootDxe/HttpBootConfigVfr.vfr