NetworkPkg:Fix Http boot download issue.
authorZhang Lubo <lubo.zhang@intel.com>
Thu, 24 Mar 2016 08:59:22 +0000 (16:59 +0800)
committerJiaxin Wu <jiaxin.wu@intel.com>
Fri, 25 Mar 2016 03:32:57 +0000 (11:32 +0800)
commit651aeac67248c798c8c22dfd04580d8961cf09d0
tree14146536fa72bb77a03982b2a48ff29b1a32ec99
parent5d54bbec2ce3861d646fbbd19072b1c3c1537f17
NetworkPkg:Fix Http boot download issue.

When http boot download the second time without return
out of the boot manager, the DHCP process will start twice
with the same Boot file uri and print the information twice
which we not expected. This is caused by wrong logic
of handling the device path of the boot file when loading it.

Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Ye Ting <ting.ye@intel.com>
Cc: Wu Jiaxin <jiaxin.wu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Zhang Lubo <lubo.zhang@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
NetworkPkg/HttpBootDxe/HttpBootImpl.c