diff options
author | Eric Dong <eric.dong@intel.com> | 2015-11-16 06:54:44 +0000 |
---|---|---|
committer | vanjeff <vanjeff@Edk2> | 2015-11-16 06:54:44 +0000 |
commit | ff113502bd44fe0bc5ec5397e3526bf4e9efb2fd (patch) | |
tree | 2f2763958edfaca97a41eaeae8d17e88f4083e78 /NetworkPkg | |
parent | 89d58323cf55ce28357107edb4036c5d5eac0e55 (diff) | |
download | edk2-platforms-ff113502bd44fe0bc5ec5397e3526bf4e9efb2fd.tar.xz |
Update register hot key logic, return EFI_ALREADY_START status if same hot key already existed.
In current case, if one key was requested to register twice, browser will override old hot key with new one. This behavior is not user friendly.
Now update the logic, return EFI_ALREADY_STARTED for this case. If user still want to override it, he must unregistered it first.
(Sync patch r18604 from main trunk.)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2015@18794 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'NetworkPkg')
0 files changed, 0 insertions, 0 deletions