]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Bug fix: CreateEvent sometimes returning EFI_INVALID_PARAMETER due to bad TPL value...
authorlpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 15 Feb 2012 23:24:58 +0000 (23:24 +0000)
committerlpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 15 Feb 2012 23:24:58 +0000 (23:24 +0000)
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

StdLib/EfiSocketLib/Socket.c

index 1805fa629ce1f052252b7dce32f5800ad5de0dae..d6adba3237219f9ecb5ca3295f199c6ddf16431d 100644 (file)
@@ -2567,7 +2567,7 @@ EslSocketListen (
         //  Create the event for SocketAccept completion\r
         //\r
         Status = gBS->CreateEvent ( 0,\r
-                                    TplPrevious,\r
+                                    TPL_SOCKETS,\r
                                     NULL,\r
                                     NULL,\r
                                     &pSocket->WaitAccept );\r