]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigImpl.c
Add exit action when Config_Access_Protocol.CallBack function returns Submit or Reset...
[mirror_edk2.git] / MdeModulePkg / Universal / Network / VlanConfigDxe / VlanConfigImpl.c
index 8abe77f4bb028985c4b93882af0a261824b403b1..6d544f53214d22f3c1552ad8f42225881efd9e25 100644 (file)
@@ -273,7 +273,7 @@ VlanCallback (
       //\r
       // Clear UI data\r
       //\r
-      *ActionRequest = EFI_BROWSER_ACTION_REQUEST_SUBMIT;\r
+      *ActionRequest = EFI_BROWSER_ACTION_REQUEST_FORM_APPLY;\r
       Configuration->VlanId = 0;\r
       Configuration->Priority = 0;\r
       break;\r
@@ -301,7 +301,7 @@ VlanCallback (
         gBS->ConnectController (PrivateData->ControllerHandle, NULL, NULL, TRUE);\r
       }\r
 \r
-      *ActionRequest = EFI_BROWSER_ACTION_REQUEST_SUBMIT;\r
+      *ActionRequest = EFI_BROWSER_ACTION_REQUEST_FORM_APPLY;\r
       ZeroMem (Configuration->VlanList, MAX_VLAN_NUMBER);\r
       break;\r
 \r