summaryrefslogtreecommitdiff
path: root/StdLib
diff options
context:
space:
mode:
authorlpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524>2012-02-15 23:24:58 +0000
committerlpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524>2012-02-15 23:24:58 +0000
commit28de825561f994ea7923a864ebc54b514edd8af9 (patch)
treef7c7c526221295e4c31f73c65816a4b3a6b85599 /StdLib
parent66a2dc96d3dff90b4243c4ed3e7eaa33abdcdf3c (diff)
downloadedk2-platforms-28de825561f994ea7923a864ebc54b514edd8af9.tar.xz
Bug fix: CreateEvent sometimes returning EFI_INVALID_PARAMETER due to bad TPL value. Use known good TPL value since TPL is a don't care.
Found, reviewed and tested by: Duane Voth Signed-off-by: lpleahy git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13017 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'StdLib')
-rw-r--r--StdLib/EfiSocketLib/Socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/StdLib/EfiSocketLib/Socket.c b/StdLib/EfiSocketLib/Socket.c
index 1805fa629c..d6adba3237 100644
--- a/StdLib/EfiSocketLib/Socket.c
+++ b/StdLib/EfiSocketLib/Socket.c
@@ -2567,7 +2567,7 @@ EslSocketListen (
// Create the event for SocketAccept completion
//
Status = gBS->CreateEvent ( 0,
- TplPrevious,
+ TPL_SOCKETS,
NULL,
NULL,
&pSocket->WaitAccept );