]> git.proxmox.com Git - mirror_edk2.git/blame - ShellPkg/Library/UefiShellDriver1CommandsLib/Reconnect.c
Update return value.
[mirror_edk2.git] / ShellPkg / Library / UefiShellDriver1CommandsLib / Reconnect.c
CommitLineData
4ba49616 1/** @file\r
2 Main file for Reconnect shell Driver1 function.\r
3\r
4 Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>\r
5 This program and the accompanying materials\r
6 are licensed and made available under the terms and conditions of the BSD License\r
7 which accompanies this distribution. The full text of the license may be found at\r
8 http://opensource.org/licenses/bsd-license.php\r
9\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
15#include "UefiShellDriver1CommandsLib.h"\r
16\r
17SHELL_STATUS\r
18EFIAPI\r
19ShellCommandRunReconnect (\r
20 IN EFI_HANDLE ImageHandle,\r
21 IN EFI_SYSTEM_TABLE *SystemTable\r
22 )\r
23{\r
24 SHELL_STATUS ShellStatus;\r
25\r
26 ShellStatus = ShellCommandRunDisconnect(ImageHandle, SystemTable);\r
27 if (ShellStatus == SHELL_SUCCESS) {\r
28 ShellStatus = ShellCommandRunConnect(ImageHandle, SystemTable);\r
29 }\r
30 return (ShellStatus);\r
31}\r